shader: clamp V_FRACT_F16/F32/F64 results below one

This commit is contained in:
TheCruZ
2026-10-25 00:36:03 +02:00
committed by nmzik
parent 40aaab482e
commit e864cb20bd
6 changed files with 73 additions and 8 deletions
@@ -96,6 +96,7 @@ VALUE_OPCODE(WqmU64, U64, U64)
// Core value operations used to expand architectural side effects.
VALUE_OPCODE(SelectU1, U1, U1, U1, U1)
VALUE_OPCODE(SelectF32, F32, U1, F32, F32)
VALUE_OPCODE(SelectF64, F64, U1, F64, F64)
VALUE_OPCODE(IAdd32, U32, U32, U32)
VALUE_OPCODE(IAdd64, U64, U64, U64)
VALUE_OPCODE(ISub32, U32, U32, U32)