diff options
author | bunnei <bunneidev@gmail.com> | 2018-06-05 04:41:10 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-06-05 04:41:10 +0200 |
commit | 799e632ccbd7f62db9f52de551da87cb7ad2a997 (patch) | |
tree | e543bd44f8e54466b87b8b50eb1bc10354d00620 | |
parent | gl_shader_decompiler: Implement SHL instruction. (diff) | |
download | yuzu-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.cpp | 2 |
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); } } |