mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-23 20:05:38 +01:00
gl_shader_decompiler: Implement GetPredicateComparison GreaterEqual.
This commit is contained in:
parent
b16e5c6a81
commit
c23ce3365d
@ -606,10 +606,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::LessThan, "<"}, {PredCondition::Equal, "=="},
|
||||||
{PredCondition::Equal, "=="},
|
{PredCondition::LessEqual, "<="}, {PredCondition::GreaterThan, ">"},
|
||||||
{PredCondition::LessEqual, "<="},
|
{PredCondition::GreaterEqual, ">="},
|
||||||
{PredCondition::GreaterThan, ">"},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
auto comparison = PredicateComparisonStrings.find(condition);
|
auto comparison = PredicateComparisonStrings.find(condition);
|
||||||
|
Loading…
Reference in New Issue
Block a user