tests: split the pixel_aot draw-core CTest #1049

Manually merged
github merged 2 commits from gh-pr/1049/head into gh-pr/1049/base 2026-11-26 22:37:39 +00:00
Owner

@⁠romn4rch on GitHub · 2026-11-23 23:14 UTC · original
romn4rch:romn4rch-draw-core-split → main · +49 −6 · 3 files · 2 commits · merged 2026-11-23 23:39 UTC

Change

The pixel_aot_hardware draw-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 into draw-core-vector, registered as pixel_aot_core_vector_{hardware,warp} with the same 60-second timeout and a separate form-coverage record. Existing cases, expected-mismatch controls and the full draw mode remain unchanged.

Refs #448

Verification

Commit: df4cb1b.

  • cmake --preset dev and cmake --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.
  • An instrumented WARP comparison of pre-split draw-core with 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.md records 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

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture. (No fixture was added; existing expected-mismatch controls are unchanged.)
  • I updated README/docs when a capability or build requirement changed. (Updated docs/experiments.md; no README or build requirement change.)
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted: yes.

**@⁠romn4rch** on GitHub · 2026-11-23 23:14 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/1049) `romn4rch:romn4rch-draw-core-split` → `main` · +49 −6 · 3 files · 2 commits · merged 2026-11-23 23:39 UTC ## Change The `pixel_aot_hardware` draw-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 into `draw-core-vector`, registered as `pixel_aot_core_vector_{hardware,warp}` with the same 60-second timeout and a separate form-coverage record. Existing cases, expected-mismatch controls and the full `draw` mode remain unchanged. Refs #448 ## Verification Commit: `df4cb1b`. - `cmake --preset dev` and `cmake --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. - An instrumented WARP comparison of pre-split `draw-core` with 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.md` records 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 - [x] This pull request covers one reviewable behavior. - [x] I included the exact command and result for every check I ran. - [x] I considered a negative control or failure case for a new fixture. (No fixture was added; existing expected-mismatch controls are unchanged.) - [x] I updated README/docs when a capability or build requirement changed. (Updated `docs/experiments.md`; no README or build requirement change.) - [x] I did not include game files, dumps, distribution links or secrets. AI-assisted: yes.
Move the DPP, VOP3P, bitwise, FMA-mix and dot-product draw helpers into a dedicated CTest mode with a separate coverage record and the existing timeout. Keep the full draw mode unchanged.

Refs #448

Co-authored-by: Copilot App <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 22:37:37 +00:00
github manually merged commit 3dc27c33af into gh-pr/1049/base 2026-11-26 22:37:39 +00:00
Author
Owner

@⁠R0Y00 on GitHub · 2026-11-23 23:25 UTC · original

I resolved the CMake conflict in 3dc27c3 by 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

**@⁠R0Y00** on GitHub · 2026-11-23 23:25 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/1049#issuecomment-7116936611) I resolved the CMake conflict in 3dc27c3 by 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
This discussion has been locked. Commenting is limited to contributors.
No description provided.