Publish GPU view addresses for dynamic descriptor snapshots #107
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T01:33:10Z.
A descriptor table containing a CBV is snapshotted into dynamic slots. Shader user data receives the new table offset, so a dynamically indexed buffer address looks up the dynamic slot in
VIEW_ADDRESSES. The original descriptor path writes that metadata, butmake_atandmake_listedonly write the stride. A snapshotted view can consequently look like a zero pointer. No renderer-port flag is required for the CBV snapshot. Snapshot decision · Offset binding · Dynamic descriptor creationSynthetic regression
Put a buffer view and a CBV in one table. Snapshot it, then use a computed index to read the buffer address through the shader. Assert that the address matches the original view for both snapshot creation paths. Reuse the slot for a null or unrelated view, and check that the previous address is cleared.
Found during review of #37. Verified in the source at
cc9ed86.Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T01:34:57Z.
The fix is in #111. Both dynamic snapshot paths now publish the title address alongside the stride and format bits, and reuse clears the old address. The descriptor-heap regression covers direct creation and cached copies. CI and the in-game path are still being checked.