shader: verify mesh and pixel readback after swapping two CBVs #557
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!557
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/557/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?
@RonLogic on GitHub · 2026-11-22 11:55 UTC · original
RonLogic:test/mesh-descriptor-swap→main· +173 −26 · 8 files · 2 commits · merged 2026-11-22 12:47 UTCRefs #218. This implements the independent descriptor-swap draw requested for mesh-stage work and reuses the mesh readback harness and #544 packed color program.
Two separate constant-buffer resources are bound as b0 and b1 through a shader-visible descriptor table. The translated mesh reads depth from b0 and horizontal translation from b1, while the translated pixel shader reads color from b0. The test keeps the input bytes and compiled shaders fixed and exchanges only the two descriptor slots.
On Windows 11 build 26300.9974, all 10 related mesh draw tests passed on the RTX 4070 (32.0.16.2124) and WARP (10.0.26100.9818). Both positive draws reported zero D3D12 debug warnings or errors on each adapter. The documentation link check passed. The LLVM fixture round-trip is registered for the Linux CI job.
ctest --preset dev --no-tests=error -R "^mesh_(entry_draw|indexed_draw|attribute_draw|pixel_pipeline|descriptor_swap)_(warp|hardware)$" -VAI-assisted: yes.