mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 23:06:23 -05:00
Merge pull request #472 from bunnei/greater-equal
gl_shader_decompiler: Implement GetPredicateComparison GreaterEqual.
This commit is contained in:
commit
d809f65827
1 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue