diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-09 09:55:15 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-09 09:55:15 +0200 |
commit | 4e57f9d5cfc32b37fe7b6a1563ca2101ec59887c (patch) | |
tree | 057619ab05268d2c757dda7f5cec30c319a56bcb /src/video_core/shader/decode.cpp | |
parent | Merge pull request #3879 from lioncash/global2 (diff) | |
download | yuzu-4e57f9d5cfc32b37fe7b6a1563ca2101ec59887c.tar yuzu-4e57f9d5cfc32b37fe7b6a1563ca2101ec59887c.tar.gz yuzu-4e57f9d5cfc32b37fe7b6a1563ca2101ec59887c.tar.bz2 yuzu-4e57f9d5cfc32b37fe7b6a1563ca2101ec59887c.tar.lz yuzu-4e57f9d5cfc32b37fe7b6a1563ca2101ec59887c.tar.xz yuzu-4e57f9d5cfc32b37fe7b6a1563ca2101ec59887c.tar.zst yuzu-4e57f9d5cfc32b37fe7b6a1563ca2101ec59887c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/decode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode.cpp b/src/video_core/shader/decode.cpp index a75a5cc63..eeac328a6 100644 --- a/src/video_core/shader/decode.cpp +++ b/src/video_core/shader/decode.cpp @@ -255,7 +255,7 @@ void ShaderIR::InsertControlFlow(NodeBlock& bb, const ShaderBlock& block) { Node n = Operation(OperationCode::Branch, Immediate(branch_case.address)); Node op_b = Immediate(branch_case.cmp_value); Node condition = - GetPredicateComparisonInteger(Tegra::Shader::PredCondition::Equal, false, op_a, op_b); + GetPredicateComparisonInteger(Tegra::Shader::PredCondition::EQ, false, op_a, op_b); auto result = Conditional(condition, {n}); bb.push_back(result); global_code.push_back(result); |