Repository navigation
Conversation
catminou4
left a comment
There was a problem hiding this comment.
Tested locally on macOS arm64 (rustc 1.98.1): PR head merged cleanly into current main (ffe310e), cargo test -p victory-shader --locked → 96 passed, 0 failed. Hardware/valu/waterfall execution tests are #[cfg(all(test, windows))] and run only on Windows; macOS covers lowering/structure unit tests.
f32 min/max/median and cube ops now flush subnormals like RDNA MAD instructions: write_f_with_ftz + flush_f32 (exponent==0 → signed zero via sign mask). +3 macOS tests.
|
On an RX 7900 XT (RDNA3): #1709 removes six of the seven RX 7900 XT, driver 32.0.31036.15, Windows 11 26300,
Synthetic tests only, no game files. AI-assisted (Claude Code); every run was on this machine. |
3821b53 to
c3182f7
Compare
c3182f7 to
aaf3243
Compare
|
Reworked on the new base as a standalone cube-only PR (no longer stacked on #1554). See updated body. |
|
Cross-referencing #1766, which makes the same input flush for |
|
NVIDIA data point for this and #1766: RTX 4070 Ti SUPER (Ada), driver 32.0.16.1692, Windows 11. The probe is #1766's
On No game data. AI-assisted (Claude Code). |
RDNA flushes subnormal inputs and results for v_cubeid/sc/tc/ma_f32. Upstream now flushes min/max/select and med3 denormals itself, so only the cube path remains here. Use the shared ftz helper on x, y, z and the result; add a DXIL check for the four flush sequences. Addresses FIND-4 from Marvisak#1633.
aaf3243 to
d61c307
Compare
|
Automated triage for the maintainers. Needs work. Flushing denormal cube coordinates through
CI passes. Generated by Claude Code |
|
Closing this in favour of #1766 (@alexdeliu), which the triage also recommends: it makes the same flush and adds a hardware-checked probe ( Nothing is lost: the four emitted sequences this PR checked are the same ones that probe measures on the hardware. If #1766 ends up not landing, the branch here stays rebased and can be reopened. |
Rebased onto 70564ae and reduced to the cube path only: upstream 77053a0 now flushes denormals for min/max/select and med3 itself, so those parts and the #1554 stack are gone. The cube inputs and result go through the shared
ftzhelper;v_cube_flushes_subnormals_in_dxilchecks the four sequences.Validation: targeted test passes, clippy
-D warningsandcargo xtask policy(174 files) clean. Hardware measurement on the RX 7800 XT remains the same (the hardware flushes; the lowering now emits it explicitly).