summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-10-22 19:16:46 +0200
committerGitHub <noreply@github.com>2019-10-22 19:16:46 +0200
commit7ecf9f72289d81f73030b612f19d8cde0de3dad6 (patch)
tree79545c4e360b949b45163e8c5814bf0cceabf7b0 /src/video_core/renderer_opengl
parentMerge pull request #3003 from ReinUsesLisp/flush-mme-trace (diff)
parentvk_shader_decompiler: Resolve fallthrough within ExprDecompiler's ExprCondCode operator() (diff)
downloadyuzu-7ecf9f72289d81f73030b612f19d8cde0de3dad6.tar
yuzu-7ecf9f72289d81f73030b612f19d8cde0de3dad6.tar.gz
yuzu-7ecf9f72289d81f73030b612f19d8cde0de3dad6.tar.bz2
yuzu-7ecf9f72289d81f73030b612f19d8cde0de3dad6.tar.lz
yuzu-7ecf9f72289d81f73030b612f19d8cde0de3dad6.tar.xz
yuzu-7ecf9f72289d81f73030b612f19d8cde0de3dad6.tar.zst
yuzu-7ecf9f72289d81f73030b612f19d8cde0de3dad6.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-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 a3524a6a9..baec66ff0 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -2314,10 +2314,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());