summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-06-05 04:41:10 +0200
committerbunnei <bunneidev@gmail.com>2018-06-05 04:41:10 +0200
commit799e632ccbd7f62db9f52de551da87cb7ad2a997 (patch)
treee543bd44f8e54466b87b8b50eb1bc10354d00620
parentgl_shader_decompiler: Implement SHL instruction. (diff)
downloadyuzu-799e632ccbd7f62db9f52de551da87cb7ad2a997.tar
yuzu-799e632ccbd7f62db9f52de551da87cb7ad2a997.tar.gz
yuzu-799e632ccbd7f62db9f52de551da87cb7ad2a997.tar.bz2
yuzu-799e632ccbd7f62db9f52de551da87cb7ad2a997.tar.lz
yuzu-799e632ccbd7f62db9f52de551da87cb7ad2a997.tar.xz
yuzu-799e632ccbd7f62db9f52de551da87cb7ad2a997.tar.zst
yuzu-799e632ccbd7f62db9f52de551da87cb7ad2a997.zip
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index 2c9ffcafc..762b5ab95 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -927,7 +927,7 @@ private:
if (instr.is_b_gpr) {
op_b += regs.GetRegisterAsInteger(instr.gpr20);
} else {
- op_b += regs.GetUniform(instr.uniform, instr.gpr0);
+ op_b += regs.GetUniform(instr.uniform, GLSLRegister::Type::Integer);
}
}