Shaders: honour --direct for a single console shader file #1806
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1816"
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 Daydream3r on 2026-11-24T21:06:03Z.
xcl shaders shader.bin --directreturned ordinary statistics before reaching the direct-DXIL dispatcher; the same shader in a folder ran the direct sweep. Route single files through the existing direct dispatcher so validation and size-limit options apply consistently. Independent of #1799's JSON metadata change.Rebased onto
main 1a0bbe3a2ba91ea8f5b6fc29130a053868d3c9e6. The conflict was two independently added test blocks inshaders_e2e.rs; both main's argument-validation tests and this regression are retained.What is in it
crates/xcl/src/shaders.rs: parse the direct flag once and include direct mode in single-file routing.crates/xcl/tests/shaders_e2e.rs: synthetic folder/single-file JSON comparison and direct text-output regression, requiring no GPU/DXC/game data. README example included.Tested
cargo build --release --workspace --locked: passed on clean main and clean head2ebdf2f8beb86058a34dc229d78b0e87fff29c7e.cargo test --workspace --locked --no-fail-fast -- --test-threads=4: head 1247 passed, 4 failed, 46 ignored; clean main 1246 passed, same 4 failed, 46 ignored; both exit 101. The new regression executed and passed. OptionalXCL_SAMPLE_*inputs unset.gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_{0,1,2,3},CreateComputePipelineState 0x8007000E. This update does not make the adapter's full suite green.git diff --check: passed.Regression run
Official
scripts/smoke.ps1, same retail package 1.0.2.1, 60 s, no input, isolated copies of the same saved data/cache seed, networking off. Head run performed after the rebased commit was pushed. Startup/menu coverage only; no claim these runs exercise the CLI fix or rendered gameplay.main:
head:
Not tested
AMD/Intel/native wave64, Linux/Wine, game-data sample coverage, or world rendering. The remaining four baseline GPU-fuzz failures are unresolved; no translator-coverage or world-loading fix claimed.
AI use
Codex desktop, GPT-6 (exact variant not exposed): original implementation/regression/docs, conflict resolution retaining both test blocks, actual local builds/tests/smoke runs and this description. No game data or derived shader binaries in the diff.
upstream-sync referenced this pull request2026-11-24 23:07:31 +00:00
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T00:28:14Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T06:19:55Z.
Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current
mainon the new head — needs another rebase before it can be tested.Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:43:22Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:52:55Z.
Triage (#1607) – head
2ebdf2f#642 has a similar title but routes a single file for
--precompileand does not touch--direct; it is not the same change. Main still sends a single non-RPF file given with--directto the plain statistics path (only export/measure/milestone getInput::Files). No problems found in the diff; it conflicts with main's option parsing (opts.direct).Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.