Shaders: --precompile exits with 1 when it did not build everything #2095
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2105"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by jakubjuste-byte on 2026-11-25T04:25:14Z.
Closed by the author.
Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-25T05:54:11Z.
Independent native Windows CLI check on exact PR head
3023ab21e596e814791385459fa964bc02278bc8, compared with currentmain6020a33b16ba2de25b3aef5947552f2dc1831f09.Hardware/toolchain: Windows 11 build 26200, Ryzen 9 5980HX, Radeon RX 6800M (driver
30.0.13002.13003), Rust 1.99.0 MSVC, DXC/DXIL 1.9.2609.5. The CLI cases below did not use the GPU.cargo build --locked --workspace -j 2on the PR head: passed.cargo test --locked -p xcl --lib -j 2 precompile_fails_when_a_record_does_not_unpack_or_parse -- --test-threads=1 --show-output: 1 passed, 0 failed, 0 ignored.xcl.exe shaders <folder-with-one-garbage.bin> --precompile --only psonmain: exit 0,compiled 0, already cached 0, errors 0. Same fixture and arguments on the PR head: exit 1,records that did not unpack or parse 1, and the bad filename is printed. This is a direct CLI check of the changed behavior, separate from the unit test's direct call toprecompile.--limit 0asks for no records: exit 0 on both revisions; the PR printsrecords that did not unpack or parse 0.The fixture contains only the text
not a console shader. I did not check a valid shader pack, GPU pipeline refusal, or a retail title run. Logs and the repeatable CLI harness are local; no game data was used or uploaded.AI-assisted testing and report drafting with OpenAI Codex (GPT-6); I checked the exact revisions, exit codes, and logs before posting.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T06:02:42Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
upstream-sync referenced this pull request2026-11-25 11:07:09 +00:00
upstream-sync referenced this pull request2026-11-25 16:10:51 +00:00
Pull request closed