shader_ir: Pass to decoder functions basic block's code
This commit is contained in:
parent
719c83a4c2
commit
1be12d5819
27 changed files with 82 additions and 81 deletions
|
@ -12,7 +12,7 @@ namespace VideoCommon::Shader {
|
|||
using Tegra::Shader::Instruction;
|
||||
using Tegra::Shader::OpCode;
|
||||
|
||||
u32 ShaderIR::DecodeXmad(BasicBlock& bb, u32 pc) {
|
||||
u32 ShaderIR::DecodeXmad(BasicBlock& bb, const BasicBlock& code, u32 pc) {
|
||||
const Instruction instr = {program_code[pc]};
|
||||
const auto opcode = OpCode::Decode(instr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue