startup: invalidate slot 35 tables when the compute view heap changes #2628
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2636"
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 R0Y00/Xbox2Windows. Originally posted by chasegrindy on 2026-11-25T23:57:42Z.
Slot 32 used the graphics heap selection to decide when to clear recorded compute tables. Graphics only tracks an oversized logical view heap there, so switching between two ordinary heaps left slot 35 pointing at the old table.
Track the compute heap separately, for ordinary and oversized shader-visible CBV/SRV/UAV heaps. Rebinding the same heap keeps the table. Selecting another heap or unsetting it clears the table without changing the compute root. Graphics lookup and sampler selection stay as they were.
startup_compute_rootcovers same and different ordinary and oversized heaps, switches between the two, unsetting, and the existing graphics selection rule. The old ordinary-heap filter fails those tests. The separate translated Dispatch checks are not part of this PR; they belong with #2470 as agreed in R0Y00’s reply.Release at
c461c847539e74244a59bd517cf9863a568ea0d4on Windows 11 build 26300.9974, MSVC 19.44.35229 / SDK 10.0.26100.0: 4/4, no skips (two CPU checks plus native compute and graphics WARP controls).Refs #1803, #2470.
AI-assisted (GPT-6.2-sol). Tests ran locally with synthetic fixtures.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-26T00:01:37Z.
Review: APPROVED
Reviewed
8617a522. Windows 11 build 26200 Release passed 6/6, zero skips, usingctest --preset release --no-tests=error -j 1 -R '^(startup_compute_root|startup_logical_view_table|d3d12x_(compute|graphics)_list_(warp|hardware))$' -Von WARP and RTX 4060 Laptop. In an isolated copy, restricting compute selection to oversized heaps again madestartup_compute_rootexit 1 on the ordinary-heap selection, ordinary-to-ordinary invalidation and unbind assertions. The translated Dispatch readbacks remain with #2470.