diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-08-30 23:32:17 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-04 06:54:00 +0200 |
commit | 03276e7490b16bf63001b0f092de1453b4e9d188 (patch) | |
tree | 6178787d7407ff510acb00dd40ee678ca41ea0d2 /src/video_core/renderer_opengl/gl_shader_decompiler.cpp | |
parent | gl_shader_decompiler: Rework GLSL decompiler type system (diff) | |
download | yuzu-03276e7490b16bf63001b0f092de1453b4e9d188.tar yuzu-03276e7490b16bf63001b0f092de1453b4e9d188.tar.gz yuzu-03276e7490b16bf63001b0f092de1453b4e9d188.tar.bz2 yuzu-03276e7490b16bf63001b0f092de1453b4e9d188.tar.lz yuzu-03276e7490b16bf63001b0f092de1453b4e9d188.tar.xz yuzu-03276e7490b16bf63001b0f092de1453b4e9d188.tar.zst yuzu-03276e7490b16bf63001b0f092de1453b4e9d188.zip |
Diffstat (limited to '')
-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 f73bf6392..9e050347a 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -830,7 +830,7 @@ private: final_offset); const std::string result = code.GenerateTemporary(); - code.AddLine("float {};", result); + code.AddLine("uint {};", result); for (u32 swizzle = 0; swizzle < 4; ++swizzle) { code.AddLine("if (({} & 3) == {}) {} = {}{};", final_offset, swizzle, result, pack, GetSwizzle(swizzle)); |