mirror of
https://github.com/ong19th/Citron.git
synced 2025-12-13 16:36:56 +00:00
shader_decode: Fixup FSET
This commit is contained in:
parent
af5c6e4ccb
commit
2d9136cec6
1 changed files with 2 additions and 2 deletions
|
|
@ -47,8 +47,8 @@ u32 ShaderIR::DecodeFloatSet(BasicBlock& bb, u32 pc) {
|
|||
|
||||
SetRegister(bb, instr.gpr0, value);
|
||||
|
||||
if (instr.generates_cc.Value() != 0) {
|
||||
const Node is_zero = Operation(OperationCode::LogicalFEqual, predicate, Immediate(0.0f));
|
||||
if (instr.generates_cc) {
|
||||
const Node is_zero = Operation(OperationCode::LogicalFEqual, value, Immediate(0.0f));
|
||||
SetInternalFlag(bb, InternalFlag::Zero, is_zero);
|
||||
LOG_WARNING(HW_GPU, "FSET condition code is incomplete");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue