diff options
Diffstat (limited to 'src/video_core/shader/shader.cpp')
| -rw-r--r-- | src/video_core/shader/shader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader.cpp b/src/video_core/shader/shader.cpp index 852c5a9a0..c38bdcc3c 100644 --- a/src/video_core/shader/shader.cpp +++ b/src/video_core/shader/shader.cpp | |||
| @@ -96,8 +96,8 @@ void ShaderSetup::Setup() { | |||
| 96 | #ifdef ARCHITECTURE_x86_64 | 96 | #ifdef ARCHITECTURE_x86_64 |
| 97 | if (VideoCore::g_shader_jit_enabled) { | 97 | if (VideoCore::g_shader_jit_enabled) { |
| 98 | u64 cache_key = | 98 | u64 cache_key = |
| 99 | (Common::ComputeHash64(&g_state.vs.program_code, sizeof(g_state.vs.program_code)) ^ | 99 | Common::ComputeHash64(&g_state.vs.program_code, sizeof(g_state.vs.program_code)) ^ |
| 100 | Common::ComputeHash64(&g_state.vs.swizzle_data, sizeof(g_state.vs.swizzle_data))); | 100 | Common::ComputeHash64(&g_state.vs.swizzle_data, sizeof(g_state.vs.swizzle_data)); |
| 101 | 101 | ||
| 102 | auto iter = shader_map.find(cache_key); | 102 | auto iter = shader_map.find(cache_key); |
| 103 | if (iter != shader_map.end()) { | 103 | if (iter != shader_map.end()) { |