diff options
author | bunnei <bunneidev@gmail.com> | 2018-05-27 18:14:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-27 18:14:30 +0200 |
commit | d809f658275f348043cf481149739113cfb274a8 (patch) | |
tree | 61a3a1e0a1f3fc360f939559e1dbb4c8a24cc483 /src/video_core | |
parent | Merge pull request #476 from Subv/a1bgr5 (diff) | |
parent | gl_shader_decompiler: Implement GetPredicateComparison GreaterEqual. (diff) | |
download | yuzu-d809f658275f348043cf481149739113cfb274a8.tar yuzu-d809f658275f348043cf481149739113cfb274a8.tar.gz yuzu-d809f658275f348043cf481149739113cfb274a8.tar.bz2 yuzu-d809f658275f348043cf481149739113cfb274a8.tar.lz yuzu-d809f658275f348043cf481149739113cfb274a8.tar.xz yuzu-d809f658275f348043cf481149739113cfb274a8.tar.zst yuzu-d809f658275f348043cf481149739113cfb274a8.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 7 |
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 bd22b3a41..75822e750 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); |