Shaders: honour --direct for a single console shader file #1816
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1816
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@Daydream3r on GitHub · 2026-11-24 21:06 UTC · original
Daydream3r:fix-direct-single-shader-input→main· +29 −3 · 3 files · 1 commits · openxcl 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.
@DavidM1911 on GitHub · 2026-11-25 00:28 UTC · original
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!
@DavidM1911 on GitHub · 2026-11-26 06:19 UTC · original
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.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.