shader: verify a GPU compute buffer consumed by translated pixels #549
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/555"
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:40:49Z.
Refs #218. This independent GPU test pairs the compute store lowering from #539 with the existing scalar-buffer pixel color fixture. The compute pass writes the color words to a default-heap UAV at byte offset 16. After the transition to constant-buffer state and the dispatch fence, graphics binds that same GPU address as a CBV. The CPU only reads back the final RGBA32F target.
Two source-built producer variants produce different expected colors with the same pixel shader. The CPU reference compares all 4,096 pixels and all channels for each palette. The stale-binding control runs both producers and then deliberately binds the earlier buffer. The first pixel differs on both backends, with
(0.25, 0.75)observed where(0.5, 0.125)was expected in red and green.The shared interfaces are the
offscreen_checkoperation dispatch and pixel fixture readback. The EXE integration stays in the milestone work in #218. This change adds the independent compute-to-graphics data handoff test.Windows x64 at
109ae9eon96e836d:All six tests passed on RTX 4070 and WARP, and the documentation link check passed.
AI-assisted: yes.