shader: verify a compute-produced texture through translated mesh and pixel stages #652
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/658"
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-22T18:09:18Z.
Change
Refs #218. Reuse #633’s translated indexed mesh, PARAM0 UVs and
image_sample_lzpixel shader. A synthetic gfx1013 compute producer writes two packed RGBA8 rows at byte offsets 0 and 256 to a default-heap raw UAV. The direct command list transitions it to copy source, copies the rows into a 2×2 texture, transitions that texture to pixel-shader-resource state, and draws. The fixture reads back the final render target and mesh export trace.The test exercises two palettes with the same mesh and pixel shaders. The updated draw dispatches both producers, then binds the newer texture. The control dispatches both and binds the older texture while keeping the newer reference.
Verification
At
24bd62eon Windows 11 build 26300.9974, the RTX 4070 (32.0.16.2124) and WARP (10.0.26100.9818) matched all 1,024 pixels for both palettes. The stale binding produced exactly 276 pixel mismatches while all 748 clear pixels and the mesh export trace matched. Both adapters ran with the D3D12 debug layer and reported zero errors or warnings for the new draws and control. No skips.All 12 focused CTest entries passed in Debug and all 12 passed in Release. The documentation link check passed.
Evidence and scope
The producer and graphics fixtures are source-built synthetic inputs under the project’s MIT license. The change measures the raw-buffer-to-texture handoff and the final draw on D3D12.
Developed with Codex.
Imported from R0Y00/Xbox2Windows. Originally posted by rwZephyr on 2026-11-22T18:49:55Z.
Independent RDNA 4 verification of the merged compute-to-texture fixture on upstream
mainatdc94dc836e5bbdb684c344c4b1003753644a0fc1, which includes #658. This report is AI-assisted. The tests ran locally from unmodified source.Windows 11 25H2 x64 build
26200.9974, MSVC19.44.35230, Windows SDK10.0.26100, DXC1.8.2502.8, Python3.12.10. The renderer reported RX 9070 XT (1002:7550), driver32.0.32029.2010, and WARP (1414:008c), driver10.0.26100.9818. Both reporteddebug_layer=unavailable.With the workspace-local toolchain loaded,
$intakePythonpointing to the local Python virtual environment, and the debug CRT DLLs staged next to the Debug renderer, I ran:Debug and Release each passed 12/12 CTest entries with no skips. On both backends and in both presets, each GPU-produced palette matched all 1,024 pixels and the mesh export trace. The stale-SRV control selected the older texture and returned the expected
Draw reference mismatchat exactly 276 pixels, with the mesh export trace matching. The documentation link check also passed.