Cover v_fract_f32_e64 source modifiers in gfx1013 pixel tests #457
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!457
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/457/head"
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?
@descent81 on GitHub · 2026-11-22 04:53 UTC · original
descent81:shader/coverage-fract-e64→main· +14 −4 · 2 files · 1 commits · merged 2026-11-22 05:06 UTCSummary
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.