runtime: read declared CBV and past-table slots in slot 57 meshes #3567
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!3567
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3565"
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?
@lambirou on GitHub · 2026-11-30 08:41 UTC · original
lambirou:runtime/mesh57-cbv→main· +65 −4 · 3 files · 1 commits · merged 2026-11-30 08:58 UTCSplit from #3539 as requested in review #3539.
A captured depth-only slot 57 request reads constant data through a CBV range of its creation root, and through one descriptor past the last declared range. A table is only a heap region on the console, so both reads are valid there; the native loader refused them.
Read a slot a CBV range declares, and a slot past the last declared range, as a byte window:
s_buffer_loadcarries no format, filtering or typed element, so the descriptor's memory read as raw dwords is the same value. The submission still resolves each table slot's token and refuses anything that is not a buffer SRV or a CBV, so an undeclared slot with a wrong view class fails before its descriptor table is bound.Tests
native_fixed_mesh57_cbv_*: the same MS reads the same dword through a table slot declared as a CBV (PSO created, pixels match the SRV variant) and through one declared as a UAV (still refused as a buffer window). The source branch also passed the fullnative_fixed_mesh57_*set 26/26 on WARP and hardware.This branch is a clean cherry-pick of
f3590da0, based on44a3ad5a; CI is the first build of the extracted branch.AI-assisted.