Repository navigation
tests: draw all integer predicate shader groups on one device - #2541
Conversation
tedin7
left a comment
There was a problem hiding this comment.
Review of head e5484d6 (comment only).
What I checked:
check_int_predicate_drawsnow gives each of the 8 compiled shaders its own.csoname and sends all 33 shader/case pairs in one--check-pixel-pairscall. The old per-shader.csoreuse would have broken this, so the rename is needed and correct.pixel_batch_statusesis split out ofrun_pixel_batch_statuseswith the same checks (exit 77 propagates, line prefix, status set, count, exit code equals "any mismatch"). The old caller keeps its behavior.- The expected-vs-actual loop uses
zipafter the count check, so a short or long reply cannot hide a case. The failure message names the shader and case. - The intentional signed-vs-unsigned mismatch keeps its position (
cases.insert(-1, ...)), so the following reference is still checked after it. --check-pixel-pairsexists on main (tests/offscreen_check.cpp,tests/pixel_batch_pairs_check.py), so no dependency is missing. Docs line counts indocs/experiments.mdmatch the new "one renderer call" wording.- Sibling tests still call the old per-shader helper; the PR says it is the first user, and that is consistent with the diff.
Commands run (Linux, in a worktree of the exact head):
python3 tests/docs_links_check.py-> pass (479 links)python3 tests/bidi_controls_check.py-> passgit diff --check origin/main...HEAD-> clean
Not run on Linux: the renderer and DXC are Windows-only, so I did not mutate the test here. The Windows run on this head follows.
No blocking findings.
AI-assisted; commands listed were executed locally.
|
Win2025 WARP run on head e5484d6 did not pass, so no receipt and no merge from me.
Code review on this head stays as posted: no blocking findings. AI-assisted; commands listed were executed locally. |
|
I reproduced the automatic Python-step failure on both the PR's main parent python -B tests/mesh_entry_check.py skipped
python -B tests/mesh_entry_check.py flat-scratchCMake registers those as The clean Debug Windows Server 2025 build at this head reached I also ran the argumentless check and both registered CPU modes on Windows Server 2025 at the two revisions above. They reproduced the Windows 11 results. A clean Release build at |
|
Win2025 WARP receipt for head 6bef18e after updating with main (full build; the first fast-path run used a stale renderer and is superseded). Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
AI-assisted; commands listed were executed locally. |
Change
Refs #448. This is the first existing pixel fixture to use the multi-shader operation from #2525. The 32-bit integer predicate test now compiles its eight DXIL files, then submits all 33 original shader/reference pairs to one renderer process. The signed-against-unsigned control remains in its original position and the following reference must still pass.
Each compiler output gets a distinct name. Passing input basenames with the temporary directory as the renderer's working directory keeps the Windows command line short. The batch caller checks the index and status of every draw and propagates a renderer capability skip (77). An unexpected result identifies the shader and reference that produced it.
Verification
Compared the exact PR head
e5484d6c70a711c1a0335d521a8a12b3abab07f6against its parent5123cc6d0cd9c7730d39e9d989f38dc060a987d1. Both revisions used the same renderer and DXC for each comparison.pixel_aot_comparisons_warpentry and all three focused batch/diagnostic entries, without capability skips. The normal comparisons test recorded 160 forms. Exact-head Windows build, CTest and A/B receiptsdraw-comparisonsinvocation passed on all three and produced the same 160-form record as Server 2025.python -B tests/docs_links_check.pypassed for 19 documents and 479 links.git diff --check HEAD^ HEADpassed.The renderer-only A/B in #2525 used the same 33 draws and three warm runs. Intel UHD 770 went from 2.76–3.01 s to 0.59–0.71 s, RTX 4060 from 4.22–5.27 s to 1.60–1.77 s, and WARP from 0.80–0.86 s to about 0.21 s. Those intervals exclude the eight DXC compiles. Measurement and reproduction script
AI-assisted with Codex (session label
GPT-6.2 Astra xhigh).