Skip to content

[fork CI only] tests: skip wave32 lane-mask dumps below 32 lanes - #2

Closed
NRXM wants to merge 340 commits into
mainfrom
ci/llvmpipe-wave32-skip
Closed

NRXM wants to merge 340 commits into
mainfrom
ci/llvmpipe-wave32-skip

Conversation

@NRXM

@NRXM NRXM commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Draft inside the fork, only to run runtime.yml before the upstream PR. Not for merging.


Generated by Claude Code

FreddyxS and others added 30 commits November 22, 2026 00:36
The d3d12_xs shim masked 0x03000000 on a copy before the host serializer but
forwarded D3D12CreateRootSignatureDeserializer blobs unchanged. The host
deserializer rejects a blob whose RTS0 flags carry that high byte (measured
E_INVALIDARG), and docs/d3d12_vulkan.md says the flags "must be masked on a
copy before the host serializer/deserializer".

copy_rts0_blob_clear_xbox_flags walks the DXBC chunk table to the RTS0 chunk,
clears bits 24-31 of its flags on a copy, and the deserializer forwards that
copy when a rewrite is needed. root_sig_test adds test_deserializer: it
tampers a serialized blob with 0x03000000, checks the host rejects it, and
checks the registered shim deserializer clears it and returns flags 0.

AI-assisted (Cline).
Run with no arguments it stopped with IndexError, `--limit x` with ValueError, and a missing path or a file
where a folder was expected with a traceback from os.listdir. It now has a usage line: src must be a folder,
and --limit takes a whole number of at least 1. The documented `shader_ir.py <dir> [--limit N]` form is
unchanged.

Tests: CliInputTest in tests/test_shader_ir.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…anning

A missing carve folder ended in a FileNotFoundError traceback from os.listdir, and an --archives name without
an index.json in a traceback from scan_archive, after earlier archives had already been scanned. A folder with
no carved archive at all wrote an empty textures_index.json. All three are now usage errors (exit 2) and
nothing is written.

Tests: CliInputTest in tests/test_tex_headers.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A path that is neither a folder nor a readable file reached open() and stopped with FileNotFoundError. It now
exits 1 with "<path>: No such file or directory", like the existing "not an RPF7/8/9 archive" message.

Tests: MissingInputTest in tests/test_navmesh_index.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A missing file stopped with a traceback. A negative --offset silently probed the last bytes of the file
(Python slicing from the end), and an offset at or past the end printed nothing and exited 0, which looks like
"no layout found". Both now exit 1 with the offset and the file size; an empty file reports 0 bytes.

Tests: tests/test_tile_probe.py (new; skips without numpy, which the tool needs).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
--rigs opened its output for writing before parse_rbf0 ran, and the
ValueError parse_rbf0 raises for an RBF0 without anim/rigset/ keys was
not caught. The run ended in a traceback and left an existing rigs JSON
empty. Parse first, report the error and exit 2 without touching the file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	docs/design.md
#	runtime/test/shaders/check.py
ItsNotRexed and others added 29 commits November 21, 2026 19:14
# Conflicts:
#	docs/design.md
#	runtime/test/shaders/check.py
# Conflicts:
#	tests/semantic/README.md
#	tests/test_shader_checks.py
…r in the dry-run tests, ItsNotRexed#488's 8-word dump, ItsNotRexed#421's global offset test, reworded test-program error)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cs_wqm_w32 (SHADER-34) and cs_w32_lane_wrap (SHADER-52) check 32-lane
EXEC/VCC masks and lane selects. On Mesa llvmpipe, whose compute
subgroups are 8 wide, they can't produce their words, and the
"GPU tests on llvmpipe" step in runtime.yml has failed on main since
91b36cf. Skip them where vk_compute_test reports a widest subgroup
below 32 lanes, the rule ps_bitmask_perm already uses, in check.py and
run_gpu_tests.py (which reuses check.py's helper). Devices with 32 or
more lanes still run and judge them.

AI-assisted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D7JEiKsTUaHQbCTdc4Eghy
Measured on GitHub's ubuntu-24.04 runner (llvmpipe, LLVM 20.1.2) with
the wave32 lane-mask skip: 38/74 with 36 skipped, and 36/38 with 2
skipped under LEONIDA_W64_EMULATE=1. Lists the new skips
(ps_scc_mask32, ps_texoff, cs_wqm_w32, cs_w32_lane_wrap).

AI-assisted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D7JEiKsTUaHQbCTdc4Eghy
@NRXM NRXM closed this Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.