yuzu-emu
/
yuzu
Archived
1
0
Fork 0

gl_shader_decompiler: Implement PredCondition::NotEqual.

This commit is contained in:
bunnei 2018-06-04 20:53:26 -04:00
parent 81a16c073a
commit 6ea1576513
1 changed files with 3 additions and 3 deletions

View File

@ -645,9 +645,9 @@ private:
std::string GetPredicateComparison(Tegra::Shader::PredCondition condition) const { std::string GetPredicateComparison(Tegra::Shader::PredCondition condition) const {
using Tegra::Shader::PredCondition; using Tegra::Shader::PredCondition;
static const std::unordered_map<PredCondition, const char*> PredicateComparisonStrings = { static const std::unordered_map<PredCondition, const char*> PredicateComparisonStrings = {
{PredCondition::LessThan, "<"}, {PredCondition::Equal, "=="}, {PredCondition::LessThan, "<"}, {PredCondition::Equal, "=="},
{PredCondition::LessEqual, "<="}, {PredCondition::GreaterThan, ">"}, {PredCondition::LessEqual, "<="}, {PredCondition::GreaterThan, ">"},
{PredCondition::GreaterEqual, ">="}, {PredCondition::NotEqual, "!="}, {PredCondition::GreaterEqual, ">="},
}; };
auto comparison = PredicateComparisonStrings.find(condition); auto comparison = PredicateComparisonStrings.find(condition);