recomp: handle s_round_mode/s_setreg* rounding modes and verify non-fused MAD/MAC #91
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!91
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/91/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?
@certified-retart on GitHub · 2026-11-23 08:42 UTC · original
certified-retart:fix/recomp-fp-mad-and-round-mode→main· +594 −8 · 3 files · 1 commits · merged 2026-11-23 10:47 UTCFixes #73
Summary
Addresses the floating-point rounding and non-fused multiply-add gaps tracked in #73 without regressing retail graphics shaders that emit s_round_mode 0xC:
ecomp::translate in mod.rs).
@ivall on GitHub · 2026-11-23 10:48 UTC · original
Merged – thanks, and thanks @MoonYueya for the measurements in #73.
Checked against the retail shader pack on the RX 9070: still 26 698 / 26 698 FSSM variants translated in full (no program is refused for a non-default mode), the same structuring as before. DXC on the programs that get the dynamic f16 mode (122 of a 1-in-40 sample of 670,
XCL_SURVEY_ONLY=xcl_fp16_rm): 0 errors, median 0.84 s, max 6.1 s. Since the HLSL of those programs changes, they compile again on a title's first run (XDefiant's UI text was missing until its cache warmed up, then right).One fix on top (
697dbb1): #67 removedgpu_ready_wave32, so the new GPU tests gate ongpu_ready– they run on 32-lane GPUs through the split wave64 form. Tested on Windows 11 with an RX 9070 (RDNA4):cargo test --workspacegreen with the retail samples (shader pack, console DLLs, texture archive), lib tests also withXCL_SPLIT_WAVE64=1; Unicorn Overlord and XDefiant run with this round merged. Thanks!precise, and thes_round_modeNOOPs are not free #73precise, and thes_round_modeNOOPs are not free #73