You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
shader: capture and replay view types for GPU-selected global SRV slots #2908
Part of #870 and related to #1143 and #2022. Target branch cpp-migration.
Claim. Open for the native capture and offline replay fixture. Comment here to claim it. The broader resource-heap translation in #1143 has an existing claim from @mumba17. Coordinate there if your change touches its binding contract. @ArnabSaga owns the adjacent offline native compute PR #1994.
Deliverable. Build a native compute fixture that selects a global SRV heap slot from a GPU input. Bind two valid slots of the same shader-compatible view class with different backing data and at least one incompatible view type. Capture the selected slot and the view type needed to reconstruct the binding, then exercise the same accepted and refused inputs through native recording and offline request replay. Compare fenced output for each valid selection with the CPU reference. Both paths must refuse the incompatible view with the relevant slot/type diagnostic before shader execution.
Negative control. Replay with missing slot/type metadata and with a mismatched view type. Require an explicit diagnostic, no output publication for the refused request, and unchanged UAV sentinels on the runtime path.
Reproduction. Build the existing entry points with cmake --build --preset dev --target compile_dxil native_recording_check. Run ctest --preset dev --no-tests=error -R '^(native_direct_container|native_dispatch_states_warp)$' -V. Use the compile_dxil SDK CACHE gfx1013-container-cs --requests INPUT_DIRECTORY OUTPUT_DIRECTORY request path for the synthetic replay. Register the new test under native_global_srv_heap_replay and run ctest --preset dev --no-tests=error -R '^native_global_srv_heap_replay(_warp|_hardware)?$' -V. Include exact commands and report GPU capability skips separately.
Use source-built shader containers, descriptor tables and synthetic resources. Put fixture outputs under out/.
Claim released (26/11): we are stepping back from this item; it is open for anyone. The work so far is on Draft #2912 (see the handover comment there).
Claiming the capture + offline replay fixture part (not the broader heap translation in #1143). Environment: Windows Server 2025 (WARP) for dev + release, plus an NVIDIA RTX 3090. Plan: record the view type of each GPU-selected global SRV slot at capture time, replay it offline, and check that a buffer, a 2D texture and an empty slot each resolve to the right view without touching other slots. Draft PR will target cpp-migration.
AI-assisted; commands listed were executed locally.
Claiming the capture + offline replay fixture for this issue, as handed over by @tedin7 in #2912 (not the broader heap translation in #1143). I'll continue from the #2912 branch (head 432db95, plus the 32-lane WARP skip), target cpp-migration, and register the test as native_global_srv_heap_replay(_warp|_hardware). Environment: Windows 11 build 26200, NVIDIA GeForce RTX 3080 plus WARP. AI-assisted.
Closed by #2972 (@JB2WIN, continuing @tedin7's #2912), merged into cpp-migration as 05438d65. native_global_srv_heap_replay_hardware passes on an RTX 3080 and an RX 9070 XT, and indexing the heap one slot off fails it. Passing captured views into the in-runtime native path (#2958) is the follow-up. AI-assisted.
Activity
tedin7 commentedon Nov 26, 2026
Claim released (26/11): we are stepping back from this item; it is open for anyone. The work so far is on Draft #2912 (see the handover comment there).
Claiming the capture + offline replay fixture part (not the broader heap translation in #1143). Environment: Windows Server 2025 (WARP) for dev + release, plus an NVIDIA RTX 3090. Plan: record the view type of each GPU-selected global SRV slot at capture time, replay it offline, and check that a buffer, a 2D texture and an empty slot each resolve to the right view without touching other slots. Draft PR will targetcpp-migration.AI-assisted; commands listed were executed locally.
JB2WIN commentedon Nov 26, 2026
Claiming the capture + offline replay fixture for this issue, as handed over by @tedin7 in #2912 (not the broader heap translation in #1143). I'll continue from the #2912 branch (head 432db95, plus the 32-lane WARP skip), target
cpp-migration, and register the test asnative_global_srv_heap_replay(_warp|_hardware). Environment: Windows 11 build 26200, NVIDIA GeForce RTX 3080 plus WARP. AI-assisted.coordination: claim native/global-srv-heap-replay (R0Y00#2908 capture…
native: capture and replay view types for GPU-selected global SRV slo…
MasterDomino commentedon Nov 27, 2026
Closed by #2972 (@JB2WIN, continuing @tedin7's #2912), merged into
cpp-migrationas05438d65.native_global_srv_heap_replay_hardwarepasses on an RTX 3080 and an RX 9070 XT, and indexing the heap one slot off fails it. Passing captured views into the in-runtime native path (#2958) is the follow-up. AI-assisted.