Repository navigation
docs/testing: record the two ps_* KosmicKrisp NaN cases - #2602
Conversation
ps_cndmask_sign_mods and ps_valu16_mad_sel fail 4096/4096 on KosmicKrisp (Mesa 26.3.1) and pass on llvmpipe with the same Mesa and on MoltenVK 1.4.2; both read back 0x7fc00000 where the shader wrote a non-canonical NaN or 0xffffffff, the same nir_to_msl constant path already recorded for cs_bvh. Measured on an Apple M3, macOS 27.0.
|
Filed upstream: the same |
|
Tested
No other finding. AI-assisted (Claude Code). |
|
Tested 3c1f549 merged (no commit) with main 0bc6e21: Python 3.12.4, Windows 11 10.0.26300, CPU only.
AI-assisted (Claude Code). |
|
Checked the two rows against the tree, since a documentation row naming a case that does not exist is the failure mode to catch:
The branch is 254 commits behind, and since the change only adds two documentation rows, a rebase is cheap and keeps the diff to two lines. Written with an AI assistant. |
|
Thank you! Merged into |
Claimed in the coordination issue as
KOSMICKRISP-NAN-ROWS(#2570 (comment)).What and why
docs/testing.mdalready records that KosmicKrisp'snir_to_mslprints anyfloat-typed 32-bit constant in the IEEE-754 NaN range as(NAN)(0x7fc00000), withcs_bvh/cs_bvh32as the example. Two more GPU tests fail on that same path and are not listed, so a reader on a Mac sees six red tests and cannot tell which of them is the driver:ps_cndmask_sign_mods— all 4096 pixels differ,(0,0)reads0x7fc00000, 0x7fc00000, 0x80000001, 0x7fc00000, want0xff800001, 0x7f800001, 0x80000001, 0x7f800001.ps_valu16_mad_sel— all 4096 pixels differ,(0,0)reads0x8003, 0xdb880000, 0x7fc00000, 0x80000000, want0x8003, 0xdb880000, 0xffffffff, 0x80000000.Both write a value the GPU stores as
0xffffffffor as a non-canonical NaN, and both read back the canonical0x7fc00000. The entry names the cause and the two drivers that pass, so the next person does not re-derive it.Testing
Apple M3 (Mac15,13), 8 cores, macOS 27.0 (26A5406e):
ps_cndmask_sign_mods: fails 0/1 on KosmicKrisp (Mesa 26.3.1), passes 1/1 on llvmpipe (same Mesa build) and on MoltenVK 1.4.2.ps_valu16_mad_sel: same three results.Each test was run alone through
scripts/run_gpu_tests.py --filterwithVK_DRIVER_FILESnaming one ICD at a time, on the same build.Documentation only: no code, no fixtures, no test changes.
python -I scripts/check_no_game_data.py docs/testing.mdpasses.AI-assisted.