Commit Graph

5744 Commits

Author SHA1 Message Date
96c543374f Tests: cover the unknown-element-size diagnostic bucket 2026-11-21 21:29:46 +00:00
258efccde7 Tests: cover multi-group stereo streamed music 2026-11-21 21:28:09 +00:00
57544ab7a9 Docs: note the full tree JSON size 2026-11-21 21:23:50 +00:00
084cf31b82 rbf0_tree: record the XML error status 2026-11-21 21:23:50 +00:00
37ab207e58 Docs: correct the UIScreen sample nesting 2026-11-21 21:23:50 +00:00
c42377b758 Docs: clarify the compact skip rows after the rule 2026-11-21 21:23:49 +00:00
0589fb5a37 Textures: share the compact layout and record the after split 2026-11-21 21:23:48 +00:00
91db8ec6e1 Tests: cover stereo streamed-music manifest fields 2026-11-21 21:23:30 +00:00
bb4fc2e286 rdna2spirv: seed mesh v5 as groupIndex * NumThreads + lane
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>
2026-11-21 13:21:04 -08:00
21cef25b4a Translator: wave64 ds_bpermute reads 0 from lanes missing from a partial wave
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.
2026-11-21 23:16:30 +02:00
f238f66a97 Merge pull request #186 from imnotdiesel
# Conflicts:
#	runtime/test/shaders/build.py
#	scripts/run_gpu_tests.py
2026-11-21 16:08:57 -05:00
f3da088e56 Merge pull request #171 from shelbykb2
# Conflicts:
#	runtime/test/shaders/check.py
#	scripts/run_gpu_tests.py
#	tests/test_shader_checks.py
2026-11-21 16:08:48 -05:00
b36252415a Merge pull request #185 from Kam471
# Conflicts:
#	docs/design.md
2026-11-21 16:08:26 -05:00
63537ec435 Merge pull request #138 from SuarezPM 2026-11-21 16:08:10 -05:00
1261c082e8 Merge pull request #167 from 0xTehuti 2026-11-21 16:08:09 -05:00
b63a6454bc Merge pull request #189 from eIBart0 2026-11-21 16:08:08 -05:00
5026d36f9c Merge pull request #184 from Mokbul Miah 2026-11-21 16:08:07 -05:00
a0611c9fef Merge pull request #177 from simonbronk 2026-11-21 16:08:07 -05:00
0f3383b72c Merge pull request #190 from Kam471 2026-11-21 16:08:07 -05:00
16240a1405 Merge pull request #183 from Kam471 2026-11-21 16:08:06 -05:00
548b445961 Merge pull request #181 from Kam471 2026-11-21 16:08:06 -05:00
b2acfa7205 Merge pull request #178 from Kam471 2026-11-21 16:08:06 -05:00
485d1de5a8 Merge pull request #148 from Kam471 2026-11-21 16:08:05 -05:00
c5aeb1526c Tools: census every map resource in levels.rpf 2026-11-21 21:06:18 +00:00
bed17e998e Tests: cover stereo streamed-music manifest fields 2026-11-21 21:05:35 +00:00
ce2cf75785 Merge main and share compute fixture header overrides 2026-11-21 22:04:18 +01:00
dd199d1549 rdna2spirv: ignore pos1..pos3 exports when OSG1 is absent 2026-11-21 18:02:52 -03:00
bb20c19651 Textures: make the compact mode split reproducible in scan 2026-11-21 21:02:00 +00:00
d50ba56650 Tools: decode RBF0 trees for UI and subtitles
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.
2026-11-21 21:01:14 +00:00
4be73f9bbb Textures: tighten the compact tool wording and BC coverage note 2026-11-21 21:01:03 +00:00
c3cd32888f Textures: report the compact standalone/tail split in scan 2026-11-21 21:01:03 +00:00
39631ee147 Textures: decode the TTPF compact mip tail 2026-11-21 21:01:03 +00:00
5b3bbad6e6 Test compute workgroup Y/Z registers on a 3D Vulkan dispatch 2026-11-21 22:00:38 +01:00
503c8716e4 Tools: export stereo streamed-music AWC channels correctly 2026-11-21 21:00:20 +00:00
66a410edf0 Accept LLVM_MC as a whole command in the tests and GPU tools
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.
2026-11-21 21:00:03 +00:00
43daf286dc Tools: catalog the common.rpf XML documents 2026-11-21 20:55:43 +00:00
95b2c091c8 Build a native Windows llvm-mc with the AMDGPU target, no WSL needed
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>
2026-11-21 21:50:01 +01:00
16d285e7bc Merge pull request #152 from AlxcBTW
# Conflicts:
#	scripts/run_gpu_tests.py
#	tests/test_shader_checks.py
2026-11-21 15:47:57 -05:00
89ca8c85e5 Merge pull request #149 from eIBart0 2026-11-21 15:47:57 -05:00
0d7dbaa4dd Merge pull request #159 from Diesel 2026-11-21 15:47:57 -05:00
690aab328f Merge pull request #164 from Kam471 2026-11-21 15:47:57 -05:00
6b102f8931 Merge pull request #150 from Kam471 2026-11-21 15:47:55 -05:00
7cdae2b450 Merge pull request #148 from Kam471 2026-11-21 15:47:55 -05:00
240c54e6ea Merge pull request #143 from Kam471 2026-11-21 15:47:55 -05:00
899e334406 Merge pull request #141 from Kam471 2026-11-21 15:47:55 -05:00
5716b7ed9c Merge pull request #139 from Kam471 2026-11-21 15:47:54 -05:00
8b0e1a2733 Merge pull request #133 from Kam471 2026-11-21 15:47:54 -05:00
73997793eb Docs: mark GCL8 resolved in PR #164 2026-11-21 20:37:36 +00:00
82a1e229c9 Runtime: implement FNV-1a descriptor hash table for shader contract (set 0, binding 2) 2026-11-21 21:37:24 +01:00
d3f69013c1 Docs: measure rest-of-world and script archive composition
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.
2026-11-21 20:30:47 +00:00