summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-06-05 04:18:22 +0200
committerGitHub <noreply@github.com>2018-06-05 04:18:22 +0200
commit00749f5ab3f2e16510e04ea4ca668566d46dae9e (patch)
tree06c50b85a88911e89dfb9e615523eed72f5b4bb8
parentMerge pull request #517 from Subv/iscadd (diff)
parentgl_shader_decompiler: Implement PredCondition::NotEqual. (diff)
downloadyuzu-00749f5ab3f2e16510e04ea4ca668566d46dae9e.tar
yuzu-00749f5ab3f2e16510e04ea4ca668566d46dae9e.tar.gz
yuzu-00749f5ab3f2e16510e04ea4ca668566d46dae9e.tar.bz2
yuzu-00749f5ab3f2e16510e04ea4ca668566d46dae9e.tar.lz
yuzu-00749f5ab3f2e16510e04ea4ca668566d46dae9e.tar.xz
yuzu-00749f5ab3f2e16510e04ea4ca668566d46dae9e.tar.zst
yuzu-00749f5ab3f2e16510e04ea4ca668566d46dae9e.zip
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index 30ba9be67..6f66dfbcd 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -645,9 +645,9 @@ private:
std::string GetPredicateComparison(Tegra::Shader::PredCondition condition) const {
using Tegra::Shader::PredCondition;
static const std::unordered_map<PredCondition, const char*> PredicateComparisonStrings = {
- {PredCondition::LessThan, "<"}, {PredCondition::Equal, "=="},
- {PredCondition::LessEqual, "<="}, {PredCondition::GreaterThan, ">"},
- {PredCondition::GreaterEqual, ">="},
+ {PredCondition::LessThan, "<"}, {PredCondition::Equal, "=="},
+ {PredCondition::LessEqual, "<="}, {PredCondition::GreaterThan, ">"},
+ {PredCondition::NotEqual, "!="}, {PredCondition::GreaterEqual, ">="},
};
auto comparison = PredicateComparisonStrings.find(condition);