startup: invalidate slot 35 tables when the compute view heap changes #2636
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!2636
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2636/head"
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?
@chasegrindy on GitHub · 2026-11-25 23:57 UTC · original
chasegrindy:fix/slot35-compute-view-heap→main· +58 −12 · 3 files · 1 commits · merged 2026-11-26 00:01 UTCSlot 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.
@R0Y00 on GitHub · 2026-11-26 00:01 UTC · original · approved these changes
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.