mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 21:17:57 -05:00
shader_ir: Pass to decoder functions basic block's code
This commit is contained in:
@ -15,7 +15,7 @@ using Tegra::Shader::Pred;
|
||||
using Tegra::Shader::VideoType;
|
||||
using Tegra::Shader::VmadShr;
|
||||
|
||||
u32 ShaderIR::DecodeVideo(BasicBlock& bb, u32 pc) {
|
||||
u32 ShaderIR::DecodeVideo(BasicBlock& bb, const BasicBlock& code, u32 pc) {
|
||||
const Instruction instr = {program_code[pc]};
|
||||
const auto opcode = OpCode::Decode(instr);
|
||||
|
||||
|
Reference in New Issue
Block a user