diff options
author | bunnei <bunneidev@gmail.com> | 2018-06-05 04:18:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-05 04:18:22 +0200 |
commit | 00749f5ab3f2e16510e04ea4ca668566d46dae9e (patch) | |
tree | 06c50b85a88911e89dfb9e615523eed72f5b4bb8 /src/video_core/renderer_opengl | |
parent | Merge pull request #517 from Subv/iscadd (diff) | |
parent | gl_shader_decompiler: Implement PredCondition::NotEqual. (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 6 |
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); |