d3d12: retain original table extents when appending corroborated ranges #269

Merged
Valdi320 merged 1 commit from upstream-pr/269 into main 2026-11-26 21:27:17 +00:00
Valdi320 commented 2026-11-26 20:25:39 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T20:25:39Z.


Independent follow-up to the dispatch bookkeeping issue found while testing #254 with #252 and #260. This version reproduces the defect directly on main 95ddc5c using two tables, without requiring any of those PRs.

Partial root reconstruction appends ranges but previously stored resident extents only for tables that received additions. Root replacement invalidates arguments in unchanged tables too. With a paged heap the dispatch therefore may skip or omit bindings that the original shader actually needs. Track all finite original table spans and SRV/UAV views; reject partial reconstruction if an original table is nonfinite rather than leaving incomplete bookkeeping. This is conservative and may need more resident descriptors; no performance claim.

New Lanes compute-root-recovery: two original UAV tables, an independently corroborated missing slot in table 1, but no user-data row for the existing table 0 access. A 128-entry logical heap with a forced 64-entry resident cap, views at logical index 80. The unmodified provider fails: view 0 keeps its decoy (3 reflected slots). The corrected provider passes using the byte-identical guest executable and reports 4 slots. Both expected writes and the 1022 other guard words match; stand-ins disabled.

Validation on RTX 4080 / GE-Proton11-14: red/green same guest, different rebuilt DLLs, then 11/11 Lanes controls. Six no-GPU groups passed, including 380 Python tests and 374 shader compiler unit tests (plus two integration tests). Earlier three-table integration evidence remains in #254. AMD and the full GPU suite on this standalone branch still pending. No retail title data or title run. Draft for review.

<!-- greyfinch-sync:brcly/TuxBox:issue:5516694800 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/269). Originally posted by [Valdi320](https://github.com/Valdi320) on 2026-11-26T20:25:39Z. --- Independent follow-up to the dispatch bookkeeping issue found while testing #254 with #252 and #260. This version reproduces the defect directly on main 95ddc5c using two tables, without requiring any of those PRs. Partial root reconstruction appends ranges but previously stored resident extents only for tables that received additions. Root replacement invalidates arguments in unchanged tables too. With a paged heap the dispatch therefore may skip or omit bindings that the original shader actually needs. Track all finite original table spans and SRV/UAV views; reject partial reconstruction if an original table is nonfinite rather than leaving incomplete bookkeeping. This is conservative and may need more resident descriptors; no performance claim. New Lanes compute-root-recovery: two original UAV tables, an independently corroborated missing slot in table 1, but no user-data row for the existing table 0 access. A 128-entry logical heap with a forced 64-entry resident cap, views at logical index 80. The unmodified provider fails: view 0 keeps its decoy (3 reflected slots). The corrected provider passes using the byte-identical guest executable and reports 4 slots. Both expected writes and the 1022 other guard words match; stand-ins disabled. Validation on RTX 4080 / GE-Proton11-14: red/green same guest, different rebuilt DLLs, then 11/11 Lanes controls. Six no-GPU groups passed, including 380 Python tests and 374 shader compiler unit tests (plus two integration tests). Earlier three-table integration evidence remains in #254. AMD and the full GPU suite on this standalone branch still pending. No retail title data or title run. Draft for review.
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
brcly/TuxBox!269
No description provided.