summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-05-26 04:38:04 +0200
committerbunnei <bunneidev@gmail.com>2018-05-26 05:21:29 +0200
commitc23ce3365de446e95c214346a93ba0cad2620525 (patch)
tree37c7e11e32d36cbee5804ea806db310adefacf12 /src/video_core
parentAdd & correct miscellaneous things (#470) (diff)
downloadyuzu-c23ce3365de446e95c214346a93ba0cad2620525.tar
yuzu-c23ce3365de446e95c214346a93ba0cad2620525.tar.gz
yuzu-c23ce3365de446e95c214346a93ba0cad2620525.tar.bz2
yuzu-c23ce3365de446e95c214346a93ba0cad2620525.tar.lz
yuzu-c23ce3365de446e95c214346a93ba0cad2620525.tar.xz
yuzu-c23ce3365de446e95c214346a93ba0cad2620525.tar.zst
yuzu-c23ce3365de446e95c214346a93ba0cad2620525.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index d24b1ab44..b671286c0 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -606,10 +606,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::LessThan, "<"}, {PredCondition::Equal, "=="},
+ {PredCondition::LessEqual, "<="}, {PredCondition::GreaterThan, ">"},
+ {PredCondition::GreaterEqual, ">="},
};
auto comparison = PredicateComparisonStrings.find(condition);