Repository navigation
Shaders: reuse offline compute PSOs and compact repeated atomic shaders - #2371
Conversation
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
The lowered program is missing an expected group barrier (or emits one where none is expected). Needs a fix before merge. — Devin |
|
Tested: current PR head merged onto current The disassembled Not tested: retail titles (no title data on this lane, counts only). AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting. |
bmjask
left a comment
There was a problem hiding this comment.
No confirmed source-level cache/keying defect found; whole-blob hit/miss/rejection fallback coverage is useful. This draft is not merge-ready: it is dirty/non-mergeable, current Windows build/test and PR-description checks fail, the full suite is not clean, and paired smoke plus AMD/Intel/in-game validation are pending. Please resolve/rebase and provide required evidence before merge.
49aae6c to
c6a613f
Compare
c6a613f to
f8f9de6
Compare
|
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
Thanks! — Devin |
Track official main through PR xcl-dev#2371, including the cached whole compute path and repeated-block lowering. Keep the fork prefetch and DirectStorage changes on the integration branch. The merged release tree passed the Windows workspace suite and the RTX 4070 Ti cached-whole and split fallback checks.
Seven upstream commits. Conflicts in four files: the README keeps both bullets; dxc.rs keeps the fork's compile_with (a compiler on a private heap) under upstream's compile_whole and linked form; a dispatch chain's refusal warning stays, with ComputeBuild::Chain; the split fixture keeps the fork's optional chain with upstream's timing block inside it. driver_cache::path is back: upstream's new test calls it. Software adapter: cargo test --release -p xcl --lib: 1531 passed, 1 failed, 25 ignored; 59 tests that open the hardware GPU not run. The failure, sparse's flush_parked_does_not_free_or_reuse_tiles_while_unmap_ is_in_flight, passed three times of three run alone (it reads the clock; a shader build was using the machine). Not run on a title yet. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Split-eligible compute programs can use an offline whole-pipeline blob at runtime. A missing or rejected blob falls back to building the split pieces. Part of #2088.
What is in it
Tested
f8f9de65, Windows 11 build 26200, Core i9-12900K, RTX 4090 driver 610.88, Rust 1.100.0.cargo build --locked --workspace;cargo test --locked --workspace --no-fail-fast -- --test-threads=4 --show-output(debug): 1,435 passed, 0 failed, 47 ignored. 25 explicit GPU skip messages across 15 tests, including wave64 and unavailable instruction forms. The bridged-mask barrier regression passed on this head.cargo test --locked -p xcl --test gpu_compute_e2e -- --test-threads=1 --show-outputwithXCL_HEAP_WINDOWS=1: 7 passed, 0 failed, 0 ignored, 0 skipped for each ofXCL_DIRECT_DXIL=0and1.fa14dc47: five cold trials per form on each of two recorded shaders. Median driver creation fell from 4.07 s to 0.60 s and from 4.07 s to 0.52 s. Output counters and IDs matched; these measurements predate the rebase.Regression run
Release, same title, machine and 60-second guest interval, using
scripts/smoke.ps1.Main
PR head
Not tested
AI use
OpenAI Codex, GPT-6: implementation, test harness, upstream conflict resolution, fixture update, validation and PR description.