mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-12 04:27:55 -05:00
shader_ir: Decompile Flow Stack
This commit is contained in:
committed by
FernandoS27
parent
459fce3a8f
commit
926b80102f
@ -22,6 +22,8 @@
|
||||
|
||||
namespace VideoCommon::Shader {
|
||||
|
||||
struct ShaderBlock;
|
||||
|
||||
using ProgramCode = std::vector<u64>;
|
||||
|
||||
constexpr u32 MAX_PROGRAM_LENGTH = 0x1000;
|
||||
@ -125,6 +127,7 @@ private:
|
||||
void Decode();
|
||||
|
||||
NodeBlock DecodeRange(u32 begin, u32 end);
|
||||
void InsertControlFlow(NodeBlock& bb, const ShaderBlock& block);
|
||||
|
||||
/**
|
||||
* Decodes a single instruction from Tegra to IR.
|
||||
|
Reference in New Issue
Block a user