mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 20:02:50 +00:00
Merge pull request #519 from bunnei/pred-not-equal
gl_shader_decompiler: Implement PredCondition::NotEqual.
This commit is contained in:
commit
00749f5ab3
|
@ -647,7 +647,7 @@ private:
|
||||||
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);
|
||||||
|
|
Loading…
Reference in a new issue