shader: verify a GPU compute buffer consumed by translated pixels #555
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!555
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/555/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:40 UTC · original
RonLogic:test/compute-to-pixel→main· +149 −7 · 6 files · 3 commits · merged 2026-11-22 13:00 UTCRefs #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.