The game's mesh entry reads v5 on the first active lane and shifts it right
by 7 to get the meshlet/group index. Seeding v5 with the bare linear group
index made that resolve to groupIndex >> 7, so every group below 128 mapped
to meshlet 0. Seed v5 per invocation as linearGroupIndex * NumThreads (PSV0,
128 in this corpus) + LocalInvocationIndex, matching the NGG vertex-ID slot
and TomBox's mesh ABI (gid.x * numThreads + gi).
Not verified on Xbox hardware.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
On a 64-wide subgroup, ds_bpermute_b32 is a subgroup shuffle with EXEC-off sources set to 0. The missing lanes
of a partial wave (a 40-thread group) aren't running at all, and SPIR-V leaves a shuffle from them undefined:
RADV returned stale registers that changed between runs, so cs_w64x_partial failed natively on an RX 6700 XT.
The shuffle result is now kept only where a ballot of the running invocations has the source lane.
Add a stdlib record/tree decoder for the measured RBF0 format. It joins 64 KiB continuations, parses the inline descriptor table, builds element/attribute/content/text trees, and writes JSON plus optional generic XML. Unknown descriptors, record types and malformed framing fail closed with a partial tree. Add synthetic tests and the measured grammar, samples and remaining unknowns to docs/rbf0.md; note the rig-set blob tree result in docs/animation.md.
LLVM_MC may be one executable or a command line such as the WSL llvm-mc documented for Windows. shader_disasm.py already split it, but the tests, runtime/test/shaders/build.py and scripts/run_gpu_tests.py treated it as a single executable, so the documented setup skipped translator tests, and build.py passed a Windows path to WSL. Share the splitter in tools/mc_command.py and feed assembly on stdin.
scripts/build_llvm_mc.ps1 sparse-clones the LLVM sources llvm-mc needs,
builds it alone with LLVM_TARGETS_TO_BUILD=AMDGPU, static CRT and the DIA
SDK off (its headers need ATL, which the C++ build tools don't always
include), checks it disassembles an s_endpgm for gfx1013, keeps only
llvm-mc.exe and sets LLVM_MC for the user. README, docs/design.md and the
make_game.py / shader_disasm.py hints mention it next to the WSL route.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the full core_restofworld scan (1.21 GiB, 96% Bink 2 plus model/page data), re-measure story000_restofworld and story000_script, and cover the three small archives. Cross-check PSIN against script.rpf/story000 and core pages/models against packs.rpf/levels.rpf. Add a stdlib-only stream index tool and synthetic-header tests. No game data.