tests: cover paired XMem refusals and lease retirement #2367
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2375"
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 sydney-0o on 2026-11-25T14:15:16Z.
Refs #870, #1759, and #1914. Follow-up to the paired slot-86 mesh path merged in #2377, as requested in the maintainer's review.
The ordered cached-mesh fixture now checks three additional cases.
The ordered WARP fixture is selected by the Windows PR smoke preset.
Validation on current main
Local Release commit
cd9041f7, based on7092683a, has the same tree as this PR head. Windows 10 build 19045.6456, app-local WARP 1.0.22.0 and Agility SDK 1.620.2 with the D3D12 debug layer enabled. The GTX 1080 Ti (32.0.15.8278) reported capability skips for mesh tests.$warpand$agilitypoint to the x64 runtime directories.$pythonand$dxcpoint to the test interpreter and the Windows SDK 10.0.26100.0 DXC.12 passed, 0 failed, 8 capability skips. The updated WARP test passed five consecutive runs with zero D3D12 debug warnings or errors. The Python mesh86 proof, docs link check, bidi check, and
git diff --checkpassed.Original validation
The original head
ddac900remains in the branch history. Its Windows CI run passed. The maintainer independently ran all six paired cases on WARP and RTX 4060 Laptop, confirming both remap refusals and the retirement of both pages after the DIRECT fence.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T14:48:35Z.
I independently ran the six paired mesh cases on WARP and RTX 4060 Laptop. Both backends saw the separate root and argument remap refusals and both pages became reusable after the DIRECT fence. The overlapping production path landed in #2377 (
afd02a24), including the initializer-only GPU argument control. Please keep your root-page remap, unsubmitted argument writer and post-submit unmap of both ranges as a focused fixture follow-up to that baseline. Keeping them on your branch preserves authorship and the original Windows evidence.[PR #2375] gpu: wait for both leased XMem ranges in cached mesh dispatchesto [PR #2375] tests: cover paired XMem refusals and lease retirementImported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T16:20:38Z.
Review: COMMENTED
Review of head
8d9df11b(tests:tests/startup_indirect_mesh_lease.inl,CMakePresets.json,docs/experiments.md).What I checked:
dualmode ofcheck_mesh_dual_xmemand does not touch production code.dual-skip-srv,dual-skip-argument,dual-init-only) keep their previous path because the new code only runs forordered_case.CMakePresets.jsonchange only addsstartup_indirect_mesh_lease_warp_dualto the PR smoke filter. That name matches the test registered inCMakeLists.txt(startup_indirect_mesh_lease_${backend}_${mode}).No blocking findings. Next: update with main, CI, Win2025 WARP dev+release.
AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T16:21:16Z.
Win2025 WARP receipt for head
8d9df11bafter updating with main.Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
8d9df11bb570bc0d26aca7a86393e71b77229de4:--preset dev):cmake --build --preset dev --target startup_indirect_draw_indexed -- -j 2):5.80s(configure2.63s)ctest --preset dev -R 'startup_indirect_mesh_lease_warp' --parallel 4 --no-tests=error --output-on-failure): 6/6 passed (1.81s:startup_indirect_mesh_lease_warp_ordered_control1.01s,startup_indirect_mesh_lease_warp_dual-skip-srv1.03s,startup_indirect_mesh_lease_warp_dual-init-only1.13s,startup_indirect_mesh_lease_warp_dual1.21s,startup_indirect_mesh_lease_warp_skip-wait0.56s,startup_indirect_mesh_lease_warp_dual-skip-argument0.61s)/O2(--preset release):cmake --build --preset release --target startup_indirect_draw_indexed -- -j 2):8.79s(configure2.04s)ctest --preset release -R 'startup_indirect_mesh_lease_warp' --parallel 4 --no-tests=error --output-on-failure): 6/6 passed (1.40s:startup_indirect_mesh_lease_warp_ordered_control0.71s,startup_indirect_mesh_lease_warp_dual-skip-argument0.72s,startup_indirect_mesh_lease_warp_dual-init-only0.79s,startup_indirect_mesh_lease_warp_dual0.87s,startup_indirect_mesh_lease_warp_skip-wait0.51s,startup_indirect_mesh_lease_warp_dual-skip-srv0.56s)sccache: 0/11 hits; wall31.3sAI-assisted; commands listed were executed locally.