Use new shader-jit signature for interpreter

This commit is contained in:
Jannik Vogel 2016-05-13 09:38:40 +02:00
parent 4e01e9ffc5
commit 1308afe2c2
3 changed files with 8 additions and 8 deletions

View file

@ -84,9 +84,9 @@ OutputVertex ShaderSetup::Run(UnitState<false>& state, const InputVertex& input,
if (VideoCore::g_shader_jit_enabled)
jit_shader->Run(setup, state, config.main_offset);
else
RunInterpreter(state);
RunInterpreter(setup, state, config.main_offset);
#else
RunInterpreter(state);
RunInterpreter(setup, state, config.main_offset);
#endif // ARCHITECTURE_x86_64
// Setup output data
@ -157,7 +157,7 @@ DebugData<true> ShaderSetup::ProduceDebugInfo(const InputVertex& input, int num_
state.conditional_code[0] = false;
state.conditional_code[1] = false;
RunInterpreter(state);
RunInterpreter(setup, state, config.main_offset);
return state.debug;
}