summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-12-24 22:13:50 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-01-15 21:54:53 +0100
commitea78c78253c6183938da6fc87bc763ed93957499 (patch)
tree7d4d3b702c8a5efe581bdb70058febdfac27ce10 /src/video_core/shader
parentglsl_decompiler: Fixup permissive member function declarations (diff)
downloadyuzu-ea78c78253c6183938da6fc87bc763ed93957499.tar
yuzu-ea78c78253c6183938da6fc87bc763ed93957499.tar.gz
yuzu-ea78c78253c6183938da6fc87bc763ed93957499.tar.bz2
yuzu-ea78c78253c6183938da6fc87bc763ed93957499.tar.lz
yuzu-ea78c78253c6183938da6fc87bc763ed93957499.tar.xz
yuzu-ea78c78253c6183938da6fc87bc763ed93957499.tar.zst
yuzu-ea78c78253c6183938da6fc87bc763ed93957499.zip
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/decode/arithmetic_integer_immediate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/arithmetic_integer_immediate.cpp b/src/video_core/shader/decode/arithmetic_integer_immediate.cpp
index a158d345a..3b8a60c6b 100644
--- a/src/video_core/shader/decode/arithmetic_integer_immediate.cpp
+++ b/src/video_core/shader/decode/arithmetic_integer_immediate.cpp
@@ -89,7 +89,7 @@ void ShaderIR::WriteLogicOperation(BasicBlock& bb, Register dest, LogicOperation
return;
case PredicateResultMode::NotZero: {
// Set the predicate to true if the result is not zero.
- const Node compare = Operation(OperationCode::LogicalIEqual, result, Immediate(0));
+ const Node compare = Operation(OperationCode::LogicalINotEqual, result, Immediate(0));
SetPredicate(bb, static_cast<u64>(predicate), compare);
break;
}