diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-09-16 07:13:19 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-09-16 07:15:11 +0200 |
commit | a3afeb4687d0e531a1adc37c504aea89d8d8d71c (patch) | |
tree | bb18965bd9603957070cd1a4451d420329dce8e2 /src/video_core/shader | |
parent | Merge pull request #2042 from bunnei/dynarmic (diff) | |
download | yuzu-a3afeb4687d0e531a1adc37c504aea89d8d8d71c.tar yuzu-a3afeb4687d0e531a1adc37c504aea89d8d8d71c.tar.gz yuzu-a3afeb4687d0e531a1adc37c504aea89d8d8d71c.tar.bz2 yuzu-a3afeb4687d0e531a1adc37c504aea89d8d8d71c.tar.lz yuzu-a3afeb4687d0e531a1adc37c504aea89d8d8d71c.tar.xz yuzu-a3afeb4687d0e531a1adc37c504aea89d8d8d71c.tar.zst yuzu-a3afeb4687d0e531a1adc37c504aea89d8d8d71c.zip |
Diffstat (limited to 'src/video_core/shader')
-rw-r--r-- | src/video_core/shader/shader_interpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_interpreter.cpp b/src/video_core/shader/shader_interpreter.cpp index b1eadc071..f6c86a759 100644 --- a/src/video_core/shader/shader_interpreter.cpp +++ b/src/video_core/shader/shader_interpreter.cpp @@ -77,7 +77,7 @@ void RunInterpreter(const ShaderSetup& setup, UnitState<Debug>& state, unsigned const Instruction instr = { program_code[program_counter] }; const SwizzlePattern swizzle = { swizzle_data[instr.common.operand_desc_id] }; - static auto call = [&program_counter, &call_stack](UnitState<Debug>& state, u32 offset, u32 num_instructions, + auto call = [&program_counter, &call_stack](UnitState<Debug>& state, u32 offset, u32 num_instructions, u32 return_offset, u8 repeat_count, u8 loop_increment) { program_counter = offset - 1; // -1 to make sure when incrementing the PC we end up at the correct offset ASSERT(call_stack.size() < call_stack.capacity()); |