summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-16 01:38:47 +0200
committerLioncash <mathew1800@gmail.com>2019-10-16 01:38:55 +0200
commitb42a74ff2cd621649edd2c21243547efa736271a (patch)
treea69a6bac37c4a884fb58c9e0f0faca7baa2abb74 /src/video_core
parentMerge pull request #2977 from lioncash/algorithm (diff)
downloadyuzu-b42a74ff2cd621649edd2c21243547efa736271a.tar
yuzu-b42a74ff2cd621649edd2c21243547efa736271a.tar.gz
yuzu-b42a74ff2cd621649edd2c21243547efa736271a.tar.bz2
yuzu-b42a74ff2cd621649edd2c21243547efa736271a.tar.lz
yuzu-b42a74ff2cd621649edd2c21243547efa736271a.tar.xz
yuzu-b42a74ff2cd621649edd2c21243547efa736271a.tar.zst
yuzu-b42a74ff2cd621649edd2c21243547efa736271a.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index 6a610a3bc..bb972bf37 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -2316,10 +2316,13 @@ public:
switch (index) {
case Tegra::Shader::Pred::NeverExecute:
target = "false";
+ break;
case Tegra::Shader::Pred::UnusedIndex:
target = "true";
+ break;
default:
target = decomp.GetPredicate(index);
+ break;
}
} else if (const auto flag = std::get_if<InternalFlagNode>(&*cc)) {
target = decomp.GetInternalFlag(flag->GetFlag());