Shaders: include direct sweep settings and exclusions in JSON #1799
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!1799
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@Daydream3r on GitHub · 2026-11-24 20:53 UTC · original
Daydream3r:fix-direct-report-metadata→main· +67 −1 · 3 files · 1 commits · openDirect 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.
@DavidM1911 on GitHub · 2026-11-25 00:05 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.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.@luckyteagirl on GitHub · 2026-11-26 10:52 UTC · original · reviewed
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.
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.