mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:05:53 +01:00
[PR #2229] docs/testing.md: three more KosmicKrisp failures from its (NAN) constant printing #2233
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2233
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2229
Author: @Tauwni
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:docs/kk-nan-constant-fixtures📝 Commits (1)
2c8949adocs/testing.md: ps_cndmask_sign_mods, ps_valu16_mad_sel and cs_fmt_all on KosmicKrisp are its (NAN) constant printing📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
docs/testing.md(+1 -0)📄 Description
Three fixtures fail on a Mac with KosmicKrisp and pass with MoltenVK 1.4.2 and llvmpipe on the same machine:
ps_cndmask_sign_mods,ps_valu16_mad_selandcs_fmt_all(word 293). I reported them in #1608 without a cause. This PR adds a row to the Known problems table indocs/testing.md, docs only.The cause is the
(NAN)constant printing that thecs_bvhand RGBA32F rows already describe, and it is still in Mesamain.emit_src_componentinsrc/kosmickrisp/compiler/msl_type_inference.cwrites everyfloat-typed NaN constant as(NAN), so its payload and sign are lost.MESA_KK_DEBUG=mslon an Apple M3 (macOS 26.5.1, Mesa 26.3.1,maina73a57e13) shows where each one comes from:ps_cndmask_sign_modsfloat4((NAN), (NAN), float(-1.40129846432481707e-45), (NAN))0x7fc00000 0x7fc00000 0x80000001 0x7fc000000xff800001 0x7f800001 0x80000001 0x7f800001ps_valu16_mad_selfloat4(..., (NAN), float(-0.0))0x7fc000000xffffffffcs_fmt_allas_type<uint>(float((NAN)))for the input0x7f800001of a 16-bit float store0x80007e000x80007c01The row says the failures are expected with KosmicKrisp and that the expected words should not be weakened, as the
cs_bvhrow does. The translator is not changed.AI-assisted (Claude Code). No game data.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.