mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-11 15:43:07 +00:00
Shader: Don't read ShaderSetup from global state
This commit is contained in:
parent
fa4ac279a7
commit
1a2acc3baa
|
@ -75,9 +75,9 @@ static void RunInterpreter(const ShaderSetup& setup, UnitState& state, DebugData
|
|||
}
|
||||
};
|
||||
|
||||
const auto& uniforms = g_state.vs.uniforms;
|
||||
const auto& swizzle_data = g_state.vs.swizzle_data;
|
||||
const auto& program_code = g_state.vs.program_code;
|
||||
const auto& uniforms = setup.uniforms;
|
||||
const auto& swizzle_data = setup.swizzle_data;
|
||||
const auto& program_code = setup.program_code;
|
||||
|
||||
// Placeholder for invalid inputs
|
||||
static float24 dummy_vec4_float24[4];
|
||||
|
|
Loading…
Reference in a new issue