summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-07-23 20:06:48 -0700
committerGravatar GitHub2018-07-23 20:06:48 -0700
commit92304181d5551108d8eac6e1d2c8294ee6378c11 (patch)
treecb5bbe28f08958e83c309e492178209376318ac7 /src
parentMerge pull request #790 from bunnei/shader-print-instr (diff)
parentgl_shader_decompiler: Correct return value of WriteTexsInstruction() (diff)
downloadyuzu-92304181d5551108d8eac6e1d2c8294ee6378c11.tar.gz
yuzu-92304181d5551108d8eac6e1d2c8294ee6378c11.tar.xz
yuzu-92304181d5551108d8eac6e1d2c8294ee6378c11.zip
Merge pull request #792 from lioncash/retval
gl_shader_decompiler: Correct return value of WriteTexsInstruction()
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index d4b1a6f33..acf067050 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -756,8 +756,8 @@ private:
756 } 756 }
757 } 757 }
758 758
759 std::string WriteTexsInstruction(const Instruction& instr, const std::string& coord, 759 void WriteTexsInstruction(const Instruction& instr, const std::string& coord,
760 const std::string& texture) { 760 const std::string& texture) {
761 // Add an extra scope and declare the texture coords inside to prevent 761 // Add an extra scope and declare the texture coords inside to prevent
762 // overwriting them in case they are used as outputs of the texs instruction. 762 // overwriting them in case they are used as outputs of the texs instruction.
763 shader.AddLine('{'); 763 shader.AddLine('{');