Allow the revision marker in the native Dispatch cache check #3228

Closed
RonLogic wants to merge 1 commit from upstream-pr/3228 into main
RonLogic commented 2026-11-28 00:04:11 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-28T00:04:11Z.


Change

Refs #2820. The native Dispatch regression now recognizes revision.txt as cache bookkeeping. It still refuses a cache that contains an unexpected pipeline artifact after the in-process translation and before the offline compiler runs. No production files change.

Verification

Clean main 7fcde81f: both adapters reached the cache check and failed with the native route left ['revision.txt'] in the cache.

With 7de0ee42, ctest --preset release --no-tests=error -R '^startup_compute_dispatch_native_(hardware|warp)$' --output-on-failure passed on RTX 4070 through the 320-word GPU readback, cache fallback and shared-UAV control. In-box WARP checked the untouched output and published fallback, then reported its expected wave32 capability skip. The same test script also passed against the Debug and Release runtime builds from #3227, with the same in-box WARP skip.

Evidence

The existing test uses the repository's source-built shaders. This change accepts the marker by its exact filename.

I used Codex to prepare the change and ran verification locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5534732671 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3228). Originally posted by [RonLogic](https://github.com/RonLogic) on 2026-11-28T00:04:11Z. --- ## Change Refs #2820. The native Dispatch regression now recognizes `revision.txt` as cache bookkeeping. It still refuses a cache that contains an unexpected pipeline artifact after the in-process translation and before the offline compiler runs. No production files change. ## Verification Clean `main` `7fcde81f`: both adapters reached the cache check and failed with `the native route left ['revision.txt'] in the cache`. With `7de0ee42`, `ctest --preset release --no-tests=error -R '^startup_compute_dispatch_native_(hardware|warp)$' --output-on-failure` passed on RTX 4070 through the 320-word GPU readback, cache fallback and shared-UAV control. In-box WARP checked the untouched output and published fallback, then reported its expected wave32 capability skip. The same test script also passed against the Debug and Release runtime builds from #3227, with the same in-box WARP skip. ## Evidence The existing test uses the repository's source-built shaders. This change accepts the marker by its exact filename. I used Codex to prepare the change and ran verification locally.
R0Y00 commented 2026-11-28 00:40:32 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-28T00:40:32Z.


Thanks for independently tracking this down. #3231 is now on main at 38129ba3 and covers the same Dispatch cache assertion plus the RTV cache assertion. The Dispatch check still rejects extra publication files. The single-file change here is superseded by that merge.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7231104006 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3228#issuecomment-7231104006). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-28T00:40:32Z. --- Thanks for independently tracking this down. #3231 is now on main at 38129ba3 and covers the same Dispatch cache assertion plus the RTV cache assertion. The Dispatch check still rejects extra publication files. The single-file change here is superseded by that merge.
akimfomin commented 2026-11-28 00:53:58 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by akimfomin on 2026-11-28T00:53:58Z.


The conflict above is historical. I missed the maintainer's supersession note before posting. Merged #3231 already allows the revision marker while preserving the exact-set checks. Nothing further is requested from #3228. Compared with Continued #2511, the distinction is that this marker is permitted bookkeeping in a test, rather than proof of driver-cache eligibility. Earlier pinned Git comparison.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7231272519 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3228#issuecomment-7231272519). Originally posted by [akimfomin](https://github.com/akimfomin) on 2026-11-28T00:53:58Z. --- The conflict above is historical. I missed the maintainer's [supersession note](https://github.com/R0Y00/Xbox2Windows/pull/3228#issuecomment-7231104006) before posting. [Merged #3231](https://github.com/R0Y00/Xbox2Windows/pull/3231) already allows the revision marker while preserving the exact-set checks. Nothing further is requested from #3228. Compared with [Continued #2511](https://github.com/ProjectLeonida/mandy/pull/2511), the distinction is that this marker is permitted bookkeeping in a test, rather than proof of driver-cache eligibility. [Earlier pinned Git comparison](https://github.com/akimfomin/PortBridge/tree/2b57ac90d61e3385a521dd70c1b7803bdb65fadc/audit/evidence/decision-followthrough/parallel-ops-wave-two-2026-11-28).
RonLogic commented 2026-11-28 06:04:16 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-28T06:04:16Z.


Confirmed that main at 38129ba3 preserves the exact-set assertion and permits the same revision.txt marker here, plus the separate RTV case. Closing this PR as superseded by #3231. Thanks for confirming the overlap.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7235060808 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3228#issuecomment-7235060808). Originally posted by [RonLogic](https://github.com/RonLogic) on 2026-11-28T06:04:16Z. --- Confirmed that main at `38129ba3` preserves the exact-set assertion and permits the same `revision.txt` marker here, plus the separate RTV case. Closing this PR as superseded by #3231. Thanks for confirming the overlap.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!3228
No description provided.