Commit Graph

426 Commits

Author SHA1 Message Date
5c1a1fbb6b Merge main to include the compute Y/Z harness test fix 2026-11-21 22:44:07 +01:00
4e390e0871 run_gpu_tests: --filter ps_flat also builds vs_ids, which ps_flat is drawn with (fixes #192)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:19:54 -05:00
531f778a27 tests: test_shader_checks' fake harness answers #186's cs_workgroup_yz
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:19:11 -05:00
c45309e29f Integrate #188 and guard maintenance8 by its Vulkan header macro 2026-11-21 22:10:07 +01: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
233e2452e4 Merge pull request #188 from Kam471 2026-11-21 16:08:08 -05:00
b957eb71ab Merge pull request #170 from adrbn 2026-11-21 16:08:08 -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
070d697a46 Merge pull request #187 from Ayinaki 2026-11-21 16:08:07 -05:00
16240a1405 Merge pull request #183 from Kam471 2026-11-21 16:08:06 -05:00
72b25c1611 Merge pull request #182 from Eng-Meshari 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
d0fc6104c1 Merge pull request #175 from Ayinaki 2026-11-21 16:08:06 -05:00
fd8e2f8f93 Merge pull request #174 from bbareth 2026-11-21 16:08:06 -05:00
0980b157b7 Merge pull request #173 from shelbykb2 2026-11-21 16:08:05 -05:00
70ec7660ad Merge pull request #169 from NWX10 2026-11-21 16:08:05 -05:00
380cca48d2 Merge pull request #168 from Ayinaki 2026-11-21 16:08:05 -05:00
3452ebee0f Merge pull request #162 from NWX10 2026-11-21 16:08:05 -05:00
13092ba302 Merge pull request #153 from NWX10 2026-11-21 16:08:05 -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
1def0f7a1f CI: build vk_harness with Vulkan headers that lack maintenance8 2026-11-21 21:03:23 +00:00
dd199d1549 rdna2spirv: ignore pos1..pos3 exports when OSG1 is absent 2026-11-21 18:02:52 -03:00
783d7af1e2 Merge branch 'fix/llvm-mc-command' of https://github.com/mokkymiah/Leonida into fix/llvm-mc-command 2026-11-21 21:02:08 +00:00
bb20c19651 Textures: make the compact mode split reproducible in scan 2026-11-21 21:02:00 +00:00
48613bbda9 Tests: pin classify_carve classes and rpf_probe header reads 2026-11-21 21:01:30 +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
aae4d99e10 check.py: draw each pixel test at the wave size recorded in index.json (fixes #146)
RADV runs fragment shaders as wave64 on RDNA1 unless asked; a wave32 test then reads lanes it never wrote
(ps_bary, ps_uniform_branch). run_gpu_tests.py already passed VKH_SUBGROUP_SIZE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:57:04 -05:00
eb1bde307b 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 20:56:01 +00:00
530246a6e7 tests: loader_test fills its byte buffer with uint8_t{0} (C4244 x2 under /W4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:55:49 -05:00
43daf286dc Tools: catalog the common.rpf XML documents 2026-11-21 20:55:43 +00:00
005fd935d1 Add SECURITY.md: private reporting and cleanup for committed game data
Added a SECURITY.md file detailing security reporting procedures and guidelines for handling sensitive game data.
2026-11-21 23:51:46 +03: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
5be11c035f tests: pin the D3D12 stub generator's parsing and output
gen_d3d12_stubs.py runs during the Windows build, so its only current
safety net is the compiler rejecting bad generated code. These cases pin
the interface grammar, inheritance order, return conventions, directive
passthrough and the idempotent write, using a synthetic header instead of
the Windows SDK.
2026-11-21 20:48:38 +00:00