tests: split the pixel_aot draw-core CTest #1042
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1049"
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 romn4rch on 2026-11-23T23:14:39Z.
Change
The
pixel_aot_hardwaredraw-core CTest was nearing its 60-second timeout on an RTX 3050 Laptop GPU. Move the existing DPP, VOP3P, bitwise, FMA-mix and dot-product draw helpers intodraw-core-vector, registered aspixel_aot_core_vector_{hardware,warp}with the same 60-second timeout and a separate form-coverage record. Existing cases, expected-mismatch controls and the fulldrawmode remain unchanged.Refs #448
Verification
Commit:
df4cb1b.cmake --preset devandcmake --build --preset dev --target offscreen_check: passed.ctest --preset dev -N -R '^pixel_aot_(hardware|warp|core_vector_(hardware|warp))$': found all four expected entries.ctest --preset dev --no-tests=error -R '^pixel_aot_(warp|core_vector_warp)$' -V: passed 2/2 on Windows build 26300, Microsoft Basic Render Driver WARP (driver 10.0.26100.10068), debug layer enabled.pixel_aot_warp: 32.93 s;pixel_aot_core_vector_warp: 9.95 s; total 42.94 s.draw-corewith both split selections matched all 72 renderer calls and 70 DXC calls, shader/case hashes, and per-case outcomes. The split coverage-record union matched the original 710 forms..\\out\\pe-env\\Scripts\\python.exe -B tests\\pixel_aot_check.py: passed..\\out\\pe-env\\Scripts\\python.exe -B tests\\form_coverage_check.py: passed..\\out\\pe-env\\Scripts\\python.exe -B tests\\docs_links_check.py: passed (13 Markdown files, 223 links).git diff --check: clean.No physical GPU was run; hardware timeout headroom remains unmeasured.
Evidence and follow-up
No fixtures or dependencies were added.
docs/experiments.mdrecords the split and reproduction commands. This separates the test work but does not reduce aggregate device creation; device reuse remains a separate follow-up under #448.Checklist
docs/experiments.md; no README or build requirement change.)AI-assisted: yes.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T23:25:23Z.
I resolved the CMake conflict in
3dc27c3by retaining both the draw-core-vector and #421 DPP conversion registrations. The six moved draw helpers and their expected-mismatch controls are preserved.Windows 26200.9974, Release, debug layer enabled: on the RTX 4060 Laptop (32.0.16.1656), the core and vector entries passed in 21.40 and 15.74 s. On WARP (10.0.26100.9818), they passed in 10.37 and 4.59 s. The separate DPP conversion entry passed on both, for 6/6 overall. Both vector entries wrote their own coverage record. The timings cover these adapters and this build.
Command: ctest --preset release --no-tests=error -R '^pixel_aot_(warp|hardware|core_vector_(warp|hardware)|dpp_cvt_(warp|hardware))$' --output-on-failure