d3d12: split partial-mips "inside" images in the overlap ledger #478
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/478"
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 brcly/TuxBox. Originally posted by s3rius on 2026-11-29T13:45:58Z.
Summary
Placed textures sharing a guest address and subresource plan — cast/reinterpreted views of the same data — previously each reserved a full native image, repeating the same bytes (~200 MiB in the last Scarlett run). They now share the first view's native image (its own description keeps the view's format), the ledger counts it once, and the flush path dedupes by native pointer. Adds a lanes scenario (shared-view) that writes through one view and reads back through the other; it failed before the fix and passes after. GPU-verified on an RTX 5090.
Tested
Run the checks relevant to this change.
GPU, driver and backend:
Commands run and their results:
Checks
CI runs the Python unit tests, the shader compiler, DXBC, and XG layout tests, and a Windows typecheck of
tuxbox-d3d12.If this pull request changes evidence JSON, regenerate the results table and the progress map and include both files: