shader: verify mesh and pixel readback after swapping two CBVs #551
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/557"
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 R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-22T11:55:12Z.
Refs #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.