mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 06:55:47 +00:00
shader_decode: Fixup WriteLogicOperation zero comparison
This commit is contained in:
parent
afbbc154d0
commit
a90860a63a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue