shader: batch floating-point predicate readback cases per shader #556

Manually merged
github merged 1 commit from gh-pr/556/head into gh-pr/556/base 2026-11-26 22:01:31 +00:00
Owner

@⁠RonLogic on GitHub · 2026-11-22 11:48 UTC · original
RonLogic:test/batch-pixel-color → main · +38 −33 · 2 files · 1 commits · merged 2026-11-22 12:01 UTC

Refs #448.

Reuse the existing pixel batch runner for floating-point predicate readbacks. Group cases by compiled shader. Keep all 20 positive references and five DXIL compile checks. The finite-vs-NaN mismatch runs before a final positive case in the same batch, so this still checks mismatch detection and continuation. The Python driver checks each ordered status and the process exit code and retains the per-case fixture labels.

On Windows, alternating two runs of each version with the same offscreen_check executable, the full draw-predicate-rounding check went from 185 to 168 renderer launches, with 60 DXC launches in either version. Median elapsed time changed from 43.72 s to 39.96 s on RTX 4070 and from 6.94 s to 6.51 s on WARP.

Validation: draw-predicate-rounding and draw-e64 passed on WARP and RTX 4070. The documentation link check passed.

Commands for each backend (warp and hardware):

python -B tests/pixel_aot_check.py draw-predicate-rounding <dxc> <offscreen_check> <backend>
python -B tests/pixel_aot_check.py draw-e64 <dxc> <offscreen_check> <backend>
python -B tests/docs_links_check.py

AI-assisted: yes.

**@⁠RonLogic** on GitHub · 2026-11-22 11:48 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/556) `RonLogic:test/batch-pixel-color` → `main` · +38 −33 · 2 files · 1 commits · merged 2026-11-22 12:01 UTC Refs #448. Reuse the existing pixel batch runner for floating-point predicate readbacks. Group cases by compiled shader. Keep all 20 positive references and five DXIL compile checks. The finite-vs-NaN mismatch runs before a final positive case in the same batch, so this still checks mismatch detection and continuation. The Python driver checks each ordered status and the process exit code and retains the per-case fixture labels. On Windows, alternating two runs of each version with the same `offscreen_check` executable, the full `draw-predicate-rounding` check went from 185 to 168 renderer launches, with 60 DXC launches in either version. Median elapsed time changed from 43.72 s to 39.96 s on RTX 4070 and from 6.94 s to 6.51 s on WARP. Validation: `draw-predicate-rounding` and `draw-e64` passed on WARP and RTX 4070. The documentation link check passed. Commands for each backend (`warp` and `hardware`): ```text python -B tests/pixel_aot_check.py draw-predicate-rounding <dxc> <offscreen_check> <backend> python -B tests/pixel_aot_check.py draw-e64 <dxc> <offscreen_check> <backend> python -B tests/docs_links_check.py ``` AI-assisted: yes.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 22:01:30 +00:00
github manually merged commit 86438daf21 into gh-pr/556/base 2026-11-26 22:01:31 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.