After the merge the tree held this branch's older states of files main maintains. Run against main's code,
tests/test_acphal_abi.py and 11 of the 15 translator tests that differed failed, and the C++ runtime would have
been built from two generations of its sources. So that the merge cannot break what main builds and tests:
- runtime/ is main's, file for file (68 files only this branch had are not carried over);
- every file under tools/, tests/ and docs/ that both sides have is main's (80 files);
- ten translator tests only this branch has, which test rules main's translator does not have, and their
fixtures are left out.
What main gains: d3d12/ (the Rust D3D12 runtime), its launchers and helpers (Launcher.bat, scripts/play*.ps1,
play-linux.sh, port_ctl.py, smooth-motion.ps1, fetch_vkd3d_proton.py, sync_victory.py), mods/example_lua, eleven
notes under docs/, seven tools and the tests that pass with main's code, the README's sections and credits, and
the "Runtime traps" section of AGENTS.md. Everything left out here is on the branch port/d3d12-nvidia.
Checked: compileall; make_game.py --help; check_no_game_data.py over every file this adds to main; the
line-ending, docs-encoding, CI-registration and docs tests; each test file that differs from main, on its own.
Not run: the whole translator suite, the C++ build, cargo over d3d12/ after the merge (d3d12/ is byte for byte the
branch's), CI.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Brings the D3D12 runtime branch (d3d12/, its launcher scripts and notes, and the pull requests reviewed and applied
on it) together with mandy's main.
Conflicts (67 files, none under d3d12/): docs/, make_game.py, runtime/, scripts/build_runtime.ps1, tests/ and
tools/. Every one takes main's side: main is where that code is maintained, and this branch's copies were older
states of the same files or the same pull requests in another form. tests/test_fspx_unpack.py is main's too, as it
tests main's tools/fspx_unpack.py. Nothing under d3d12/ is changed by the merge.
Checked before pushing: python -m compileall over make_game.py, tools and tests; make_game.py --help;
scripts/check_no_game_data.py over the files this adds to main; tests/test_text_write_line_endings.py. The
translator suite, the C++ runtime build and CI have not run on the result.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Use report_paths.same_report_path for the report and its inputs, so a missing input whose name differs only by spelling on a case-folding volume is refused before the report is written.
Squash-merged after diff review of PR #6881 - shader_link_check: read the batch manifest as utf-8-sig, so a Windows BOM is not a JSON error (EGEN-SHADERLINK-MANIFEST-BOM)
`batch` only accepted shader names matching [a-zA-Z0-9_][a-zA-Z0-9_.-]*. make_game's corpus names
(shader_carve stems) mostly don't: on my 1.0.2.1 copy 21,043 of 26,503 failed it, 18,359 of them
for "~", the others for "!", "&", "(" or a leading ".". So a manifest built from the translation
folder, as the docs suggest, stopped at "expected a shader name without directories".
The rule's purpose is to keep the name a single path component inside --shader-dir.
is_shader_stem() now checks exactly that. It rejects separators and a drive colon, "." and "..",
the characters a Windows file name can't hold, control characters, and surrounding spaces.
Every other name is accepted.
Real data (counts only): all 26,503 corpus names are accepted (5,460 before). A 50-pipeline
manifest of VS/PS stems containing "~", run against the translated corpus, is refused by main
(exit 2). With this change all 50 are checked: 33 compatible and 17 incompatible, from
randomly chosen pairs.
Tests: test_corpus_style_names_are_accepted_and_paths_are_not accepts "VS~1", "pixel!2&x",
"a(b)c", "x y", "_~-.ok" and ".dotted" (main refuses the first five), and still refuses
"../vertex", "..", ".", "sub/vertex", "sub\vertex", "C:vertex", "a|b", NUL, " vertex" and "".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reflect actual binary user-defined inputs and outputs. Audit stage pairs and chains by location, component, type, and per-primitive domain. Handle arrays used for invocation indexing and explicit maintenance4 matching. Add batch reports, inspection, and standard-library regression tests.
Tested on Linux with synthetic modules and Mesa llvmpipe. VS+PS and VS+GS+PS fixtures draw 4096 expected pixels each. Vulkan validation and the auditor agree on the missing Location 5, Component 2 of a negative case. Mesh+PS fixtures pass spirv-val and the interface check. AI-assisted.