summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-06-05 02:53:26 +0200
committerbunnei <bunneidev@gmail.com>2018-06-05 04:00:47 +0200
commit6ea1576513db4ac866563ed12c86206c524a6469 (patch)
tree06c50b85a88911e89dfb9e615523eed72f5b4bb8 /src
parentMerge pull request #517 from Subv/iscadd (diff)
downloadyuzu-6ea1576513db4ac866563ed12c86206c524a6469.tar
yuzu-6ea1576513db4ac866563ed12c86206c524a6469.tar.gz
yuzu-6ea1576513db4ac866563ed12c86206c524a6469.tar.bz2
yuzu-6ea1576513db4ac866563ed12c86206c524a6469.tar.lz
yuzu-6ea1576513db4ac866563ed12c86206c524a6469.tar.xz
yuzu-6ea1576513db4ac866563ed12c86206c524a6469.tar.zst
yuzu-6ea1576513db4ac866563ed12c86206c524a6469.zip
Diffstat (limited to 'src')
-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);