Cover v_fract_f32_e64 source modifiers in gfx1013 pixel tests #451
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/457"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by descent81 on 2026-11-22T04:53:36Z.
Summary
The existing pixel readback test covers
v_fract_f32_e32, including the case where a tiny negative input makes the fractional result round up to 1.0 before clamping. This change keeps that boundary check and uses two other output channels to exercisev_fract_f32_e64with absolute-value and negate-absolute-value source modifiers.The binary test assembles the same fixture for gfx1013, disassembles the emitted machine code, and checks that lowering the decoded instructions produces the same HLSL as lowering the source fixture.
What the readback distinguishes
abs(s45)-abs(s46)Both expected values are exactly representable. The two e32 channels continue to check the clamp boundary at
-2^-30and a nearby input,-2^-23, whose fractional result stays below the clamp. The existing negative control still requires a pixel mismatch when the reference expects 1.0 at the clamp boundary.Coverage and validation
VOP3 / v_fract_f32_e64, and all 144 previously covered forms were retained.The coverage count above is scoped to the binary fixture suite. The aggregate dashboard is generated separately by CI.