Repository navigation
Conversation
…ll on KosmicKrisp are its (NAN) constant printing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 26, 2026
Merged
Open
This was referenced Nov 27, 2026
…fixtures # Conflicts: # docs/testing.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.