aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/decode/arithmetic_integer.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-12-28 20:00:36 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-01-15 17:54:53 -0300
commit1be12d581940b5a4724f536359ec202c66789978 (patch)
tree22c061870f548cc06d6bd9225f9850fbe9562be1 /src/video_core/shader/decode/arithmetic_integer.cpp
parent719c83a4c26881d0ce05bd8aa7b758334e082da2 (diff)
shader_ir: Pass to decoder functions basic block's code
Diffstat (limited to 'src/video_core/shader/decode/arithmetic_integer.cpp')
-rw-r--r--src/video_core/shader/decode/arithmetic_integer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/arithmetic_integer.cpp b/src/video_core/shader/decode/arithmetic_integer.cpp
index edd1695f41..4a8cc1a1c8 100644
--- a/src/video_core/shader/decode/arithmetic_integer.cpp
+++ b/src/video_core/shader/decode/arithmetic_integer.cpp
@@ -15,7 +15,7 @@ using Tegra::Shader::OpCode;
using Tegra::Shader::Pred;
using Tegra::Shader::Register;
-u32 ShaderIR::DecodeArithmeticInteger(BasicBlock& bb, u32 pc) {
+u32 ShaderIR::DecodeArithmeticInteger(BasicBlock& bb, const BasicBlock& code, u32 pc) {
const Instruction instr = {program_code[pc]};
const auto opcode = OpCode::Decode(instr);