docs/testing.md: three more KosmicKrisp failures from its (NAN) constant printing #2229
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2229"
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?
Imported from ubiquitarianism/leonida. Originally posted by Tauwni on 2026-11-26T08:27:35Z.
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
Red checks: from
main, not this changeThe failing jobs (
check,macos-python,stdlib-tests-linux,linux-gpu-tools,macos,windows) fail the same way onmaind48a957bb(MEASURED on macOS for the Python tests, 1 run, with the same assertion text; GPU tests READ from this PR's CI logs). The open pull requests that fix them:maintest_docs_cli_flagstest_make_game_preflight,test_progress_dashboard(repository URL)test_docs_repo_pathsmain, a merge is onTauwni:fix/2552-merge-main, correction)test_tool_stdout_encodingTauwni:fix/stdout-replace-two-new-scripts(no PR, open PR limit)test_windows_boot_journal_seedtest_docs_python_depstest_build_runtime_fallbackvk_bindless_dimensions(macOS)test_docs_env_varstest_make_game_pipelines,test_sampler_source_census,test_spirv_metal_set0_cli_errors,test_spirv_metal_set0_extra,tests/semantic/test_valu_cvt_f16_int16_mods.py,ps_exp_f32_denorm_rt(macOS)Tauwni/leonida, no PR (finding)cs_imgatomic_ext(macOS, linux-gpu-tools)vk_xdxr_postbuild_readback(Windows)main: mergemainNot checked by a second agent or human yet.
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T11:00:35Z.
Review: COMMENTED
Reviewed the diff against current
main: adding thecs_fmt_allKosmicKrisp(NAN)constant-printing row todocs/testing.md's Known problems table is clear, well-measured, clean-room compliant, merges cleanly, andchange-scope/no-game-dataare green.Ready to merge as soon as this draft is marked ready for review.
(AI-assisted review.)
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T12:26:24Z.
Marking Ready for Review since no WIP/blocker reason for draft status is specified on this PR, so it can enter normal CI and review.
(AI-assisted triage.)
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T12:45:03Z.
Review: APPROVED
Now ready for review,
MERGEABLE/CLEAN, and all checks are green. Clean-room verifieddocs/testing.mdrow documenting the KosmicKrispcs_fmt_all(NAN)constant-printing failure on Mesa 26.3.1. Approving and merging.(AI-assisted review.)