Shaders: include direct sweep settings and exclusions in JSON #1789
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1799"
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-24T20:53:46Z.
Direct shader sweeps could evaluate fewer programs than requested without explaining size exclusions in JSON, and omitted the seed/options needed to reproduce the selection. Add a
runobject alongside the existing coverage fields; their names and location remain unchanged.Rebased onto
main 082944135cd2b96288470a595861fa608eee08dc. The conflict was adjacent README additions: both main's dispatch-splitting documentation and this JSON metadata documentation are retained. The implementation and regression test applied without changes.What is in it
crates/xcl/src/shaders.rs: report sampling seed/limits, selected records, oversized-program skips and the recorded translation/validation options, including effective--hashoverrides.crates/xcl/tests/shaders_e2e.rs: synthetic CLI regression for size exclusion, unlimited sampling and exact-hash overrides, requiring no GPU/DXC/game data.README.md: document the metadata fields and serial sampling for repeatable selection.Tested
cargo build --release --workspace --locked: passed on clean main and clean head1e7541986cbf31b9cda0367a0b06fc073c05718e.cargo test --workspace --locked --no-fail-fast -- --test-threads=4: head 1269 passed, 4 failed, 46 ignored; clean main 1268 passed, 4 failed, 46 ignored, both exit 101. The metadata regression executed and passed. OptionalXCL_SAMPLE_*inputs unset.gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_{0,1,2,3},CreateComputePipelineState 0x8007000E; they remain unresolved.xcl shaders <pack> --direct --sample 32 --seed 20261124 --validate --compare --max-bytes 16384 --timeout 10 --threads 1 --json: exit 0.runreports seed 20261124, 32 selected records and 1 size exclusion; coverage reports 31 evaluated/translated, 0 unsupported, 0 validator failures/panics/timeouts. Effective metadata assertions also passed. This does not claim GPU execution/output parity.git diff --check: passed.Regression run
Official
scripts/smoke.ps1, same retail package 1.0.2.1, 60 s, no input, networking off, isolated copies of the same saved data/cache seed. Head run performed after pushing the rebased commit. Startup/menu coverage only; these runs do not exercise the JSON command or confirm world rendering.main:
head:
Not tested
AMD/Intel/native wave64, Linux/Wine, game-data sample coverage in the full suite, rendered gameplay or GPU output parity. This CLI metadata change does not claim to fix loading or the four baseline GPU-fuzz failures.
AI use
Codex desktop, GPT-6 (exact variant not exposed): original implementation/regression/docs, conflict resolution, actual local builds/tests/CLI/smoke runs and this description. No game data or derived shader binaries in the diff.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T00:05:00Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored.Thanks!
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T06:19:46Z.
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 luckyteagirl on 2026-11-26T10:52:53Z.
Review: COMMENTED
On
1e7541986cbf31b9cda0367a0b06fc073c05718e, could the JSONrun.selected_recordsfield count records that pass--hash, or be named/documented as the pre-filter candidate count? The hash branch replacesorderwith all input indices, and the new field usesorder.len(); the actual hash comparison happens later in the worker. Thus a pack with 26,503 records and one matching hash reports 26,503 selected records, and an unmatched hash in a one-record pack reports 1 selected record despite no match. This makes the machine-readable run metadata misleading for the targeted hash workflow. I verified the control flow from exact-head source; I did not run a pack.AI use: OpenAI Codex (GPT-6.2 Sol) found and checked the path; OpenAI Codex (GPT-6.2 Astra) independently checked the source and wrote this review.
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-12-01T02:34:00Z.
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:49:43Z.
Triage (#1607) – head
1e75419No open or merged PR makes the same change. Main's
direct_sweepstill printsrep.json(top)alone. Therunobject reads the values after the--hashoverride (sample 0, max_bytes 0), as the README line says. Splicing{"run":...,onto&report[1..]is safe becauseReport::jsonalways starts with{"stages":. No problems found in the diff. It conflicts with main and needs a rebase.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.