diff options
| author | 2016-12-17 02:33:43 -0800 | |
|---|---|---|
| committer | 2017-01-25 18:53:24 -0800 | |
| commit | 1a2acc3baae01b9469ee97333c2ec4d58c8a0b91 (patch) | |
| tree | 2dabaaa10c4ff66723f36b3434cd53812fa00110 /src | |
| parent | shader_jit_x64: Don't read program from global state (diff) | |
| download | yuzu-1a2acc3baae01b9469ee97333c2ec4d58c8a0b91.tar.gz yuzu-1a2acc3baae01b9469ee97333c2ec4d58c8a0b91.tar.xz yuzu-1a2acc3baae01b9469ee97333c2ec4d58c8a0b91.zip | |
Shader: Don't read ShaderSetup from global state
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/shader/shader_interpreter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/shader/shader_interpreter.cpp b/src/video_core/shader/shader_interpreter.cpp index 8e2b8c548..d1f11142d 100644 --- a/src/video_core/shader/shader_interpreter.cpp +++ b/src/video_core/shader/shader_interpreter.cpp | |||
| @@ -75,9 +75,9 @@ static void RunInterpreter(const ShaderSetup& setup, UnitState& state, DebugData | |||
| 75 | } | 75 | } |
| 76 | }; | 76 | }; |
| 77 | 77 | ||
| 78 | const auto& uniforms = g_state.vs.uniforms; | 78 | const auto& uniforms = setup.uniforms; |
| 79 | const auto& swizzle_data = g_state.vs.swizzle_data; | 79 | const auto& swizzle_data = setup.swizzle_data; |
| 80 | const auto& program_code = g_state.vs.program_code; | 80 | const auto& program_code = setup.program_code; |
| 81 | 81 | ||
| 82 | // Placeholder for invalid inputs | 82 | // Placeholder for invalid inputs |
| 83 | static float24 dummy_vec4_float24[4]; | 83 | static float24 dummy_vec4_float24[4]; |