Exercise a graphics pipeline stream with a root SRV and flat-color readback #1092
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1099"
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 R0Y00 on 2026-11-24T01:00:33Z.
Refs #870 and #874.
This source-built fixture creates a VS/PS pipeline stream and binds its vertex data through a root SRV at
t0, space3. The vertex shader fetches positions and distinct vertex colors usingSV_VertexID. For each submitted draw it waits on a fence and compares every byte of the 8×8 RGBA target. The baseline is solid green, a zero stride leaves the magenta clear color, and a wrong root address produces solid red.Tested
7ccdb7a4on Windows build 26200, RTX 4060 Laptop (32.0.16.1656) and WARP (10.0.26100.9818), debug layer enabled. Both tests passed. All six draws had zero pixel mismatches, zero debug errors and zero warnings.Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T02:27:08Z.
Review: COMMENTED
Reviewed commit
7ccdb7a47182cdb51c9629519a692b6ba498259con Linux.Code notes:
tests/stream_root_srv.hlslandtests/stream_root_srv.cpp: cleanD3D12_PIPELINE_STATE_STREAM_DESCsetup withalignas(void*)subobject fields, root SRV att0, space3, flat-shadednointerpolationcolor, and three distinct scenarios (baselinegreen,wrong_stridemagenta clear,wrong_bindingred) verified byte-for-byte after queue fence wait.CMakeLists.txt,tests/offscreen_check.cpp,tests/desktop_gpu.h, anddocs/experiments.md: cleanly integrated withSKIP_RETURN_CODE 77.Linux checks passed:
python3 tests/docs_links_check.py,python3 tests/bidi_controls_check.py,python3 tests/gpu_report_format_check.py,python3 tests/xgameruntime_table_check.py,python3 tests/hardware_reports_check.py.Windows MSVC/DXC build, WARP, and hardware CI checks all passed (4/4 successful, 1 skipped).
Imported from R0Y00/Xbox2Windows. Originally posted by Toons29 on 2026-11-24T02:02:49Z.
Tested
7ccdb7a4on an AMD Radeon RX 9070 (RDNA 4,1002:7550), driver32.0.32029.2010, Windows 11 build 26300,devpreset, debug layer unavailable: passstream_root_srv_hardwareandstream_root_srv_warppass, with no skips. Both adapters reportmismatches=0over 64 pixels for all three cases: offset 0 stride 24, offset 0 stride 0, and offset 256 stride 24.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T12:06:44Z.
Resolved the documentation overlap on
1df9604ddaand kept both experiment entries. Windows Release passed stream_root_srv and startup_queue_wait on RTX 4060 Laptop and WARP (4/4, no skips), including the flat green draw, zero-stride clear and shifted-root red draw. The earlier independent RX 9070 result remains in this thread.