gpu: cover hardware and disabled slot 86 writer traces #2505
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2513"
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-25T19:21:14Z.
Change
Refs #2504 and #870. Register the existing paired slot-86 writer trace for hardware as well as WARP. Add a WARP control that validates the paired pixel readback while tracing is unset, malformed (
3x), or outside the unsigned ordinal range (4294967299). The malformed and overflow values would both select the successful call if parsed as a prefix or truncated to 32 bits. Both WARP trace cases are included in the Windows PR smoke preset.Verification
Windows 11 x64 build 26300.10075, MSVC 19.52.37029, RTX 4070 driver 32.0.16.2124 and in-box WARP 10.0.26100.10068. The fixtures reported the D3D12 debug layer enabled.
Release 5/5 and Debug WARP 3/3 passed without skips. In the trace-enabled fixture both writers and their DIRECT waits were visible, and remapping either page refused the submission. In each selector control the paired readback passed with zero trace rows. The PR test listing includes both WARP trace cases.
I used Codex to implement the fixture changes and ran the checks on my Windows workstation.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:42:40Z.
Review: COMMENTED
Review of head
f226f017against main. Comment review, no approval.Checked:
startup_indirect_mesh_lease_{warp,hardware}_dual-traceare now registered through the existingforeach(backend ...)loop next to the siblingstartup_indirect_mesh_cache_${backend}tests; the old WARP-only registration is gone, so there is no duplicate name.dual-trace-disabledmode runs the paired readback with the selector unset,3xand4294967299, and asserts nox2w-mesh86-tracerows. This matches the parser insrc/startup_stubs/mesh_xmem_handoff.inl:22-30(non-digit returns 0; the value is 10 chars max, accumulated in u64), so the two bad values really are the prefix and truncation cases for ordinal 3.Commands run on Linux:
python3 tests/docs_links_check.py-> passpython3 tests/bidi_controls_check.py-> passgit diff --check origin/main...HEAD-> cleanpython3 -m py_compile tests/startup_indirect_mesh_cache_check.py-> okThe fixture runs need Windows, so the real run is the Win2025 WARP receipt that follows. The hardware variant is registered but not run on the WARP-only VM.
AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:56:06Z.
Review: COMMENTED
Re-review of head
dea92d6c. Comment review, no approval.The head only adds a merge of main on top of the previously reviewed
f226f017. The PR's own diff against main is unchanged (4 files: CMakeLists.txt, CMakePresets.json, docs/experiments.md, tests/startup_indirect_mesh_cache_check.py; same hunks as before). Findings from the earlier review still stand: the sibling test registration is consistent, the selector controls (3x,4294967299, unset) match the parser insrc/startup_stubs/mesh_xmem_handoff.inl, and the PR smoke preset covers both WARP trace tests.Commands run on Linux for this head:
git diff --stat origin/main...HEAD,python3 tests/docs_links_check.py,python3 tests/bidi_controls_check.py,git diff --check origin/main...HEAD(all clean). The Win2025 WARP dev+release receipt for this head is in the previous comment.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-25T19:46:50Z.
I reran the focused Windows Release checks after the main merge at
dea92d6cc60cd41e1fbda01920c651b6dab32e16. 7/7 passed, no skips, on in-box WARP and RTX 4070. This covers the paired trace, disabled/malformed/overflow selector controls, and the newly merged loose-root cases on both adapters.Windows 11 26300.10075, WARP 10.0.26100.10068 and RTX 4070 driver 32.0.16.2124.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:55:50Z.
Win2025 WARP receipt for head
dea92d6cafter updating with main.Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
dea92d6cc60cd41e1fbda01920c651b6dab32e16:--preset dev):cmake --build --preset dev -- -j 2):194.56s(configure2.30s)ctest --preset dev -R 'startup_indirect_mesh_lease_warp_dual(-trace(-disabled)?)?$|startup_indirect_mesh_cache_warp$' --parallel 4 --no-tests=error --output-on-failure): 4/4 passed (2.10s:startup_indirect_mesh_lease_warp_dual1.13s,startup_indirect_mesh_cache_warp1.64s,startup_indirect_mesh_lease_warp_dual-trace-disabled1.69s,startup_indirect_mesh_lease_warp_dual-trace1.94s)/O2(--preset release):cmake --build --preset release -- -j 2):372.31s(configure2.45s)ctest --preset release -R 'startup_indirect_mesh_lease_warp_dual(-trace(-disabled)?)?$|startup_indirect_mesh_cache_warp$' --parallel 4 --no-tests=error --output-on-failure): 4/4 passed (2.14s:startup_indirect_mesh_lease_warp_dual1.08s,startup_indirect_mesh_lease_warp_dual-trace-disabled1.65s,startup_indirect_mesh_cache_warp1.68s,startup_indirect_mesh_lease_warp_dual-trace1.95s)sccache: 112/449 hits; wall581.2sAI-assisted; commands listed were executed locally.