mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 00:12:40 +00:00
graphics: preserve FP16 inline constants
This commit is contained in:
1 parent
129c64235f
commit
d5410a93c8
6 files changed
+56
-9
No files matched your search
@@ -157,10 +157,11 @@ bool LowerSourceOperand(const Decoder::Operand& decoded, Operand& operand, std::
|
||||
case Decoder::OperandKind::FloatInlineConstant:
|
||||
operand = {};
|
||||
CopyOperandModifiers(decoded, operand);
|
||||
operand.kind = OperandKind::ImmediateU32;
|
||||
operand.imm = decoded.value;
|
||||
operand.sext_64 = decoded.kind == Decoder::OperandKind::IntegerInlineConstant &&
|
||||
decoded.signed_val < 0;
|
||||
operand.kind = OperandKind::ImmediateU32;
|
||||
operand.imm = decoded.value;
|
||||
operand.float_inline = decoded.kind == Decoder::OperandKind::FloatInlineConstant;
|
||||
operand.sext_64 = decoded.kind == Decoder::OperandKind::IntegerInlineConstant &&
|
||||
decoded.signed_val < 0;
|
||||
return true;
|
||||
case Decoder::OperandKind::Null:
|
||||
case Decoder::OperandKind::PopsExitingWaveId:
|
||||
|
||||
Reference in new issue
Block a user