test: keep the measured WARP column as the reference for known-difference rows #1888

Closed
leonida/mandy
kotekompotek wants to merge 0 commits from work/d3d12-close-parity-warp-drift into main

Pull request closed

This pull request cannot be reopened because the branch was deleted.

kotekompotek commented 2026-11-25 14:30:21 +00:00

Item: TEST-CLOSE-PARITY-WARP-DRIFT — claimed in the coordination issue

d3d12_close_parity records WARP's Close verdict per case in a measured column (d3d10warp.dll 10.0.26100.9818, Windows 11 26200). On a newer WARP the live verdict drifts from it: Windows 11 24H2's WARP now refuses the three CopyTextureRegion upload rows (offsets 16 and 4, row pitch 260) the column recorded as succeeding. Their layer_stricter marks then fail "now matches WARP; mark it Known::match" — although the layer itself did not change; only the host runtime did. Same drift class as #1721 (CreateHeap), one file over.

A layer_stricter/layer_looser mark verifies that the recorded gap still exists, so for those rows the measured column stays the reference when the live verdict differs from it; the drift is still reported and counted in warp_changed. match rows keep the live WARP answer authoritative, as before.

AI-assisted.

Tested: d3d12_close_parity_test.exe (Debug, MSVC 19.43) on NVIDIA GeForce GTX 1050, driver 582.28, + WARP on Windows 11 24H2 — before: 117 cases, 3 failures; after: 86 match, 16 known stricter, 15 known looser, 3 drifted rows compared with the measured column, 0 failures.

Item: TEST-CLOSE-PARITY-WARP-DRIFT — [claimed in the coordination issue](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7165349767) `d3d12_close_parity` records WARP's `Close` verdict per case in a measured column (`d3d10warp.dll 10.0.26100.9818`, Windows 11 26200). On a newer WARP the live verdict drifts from it: Windows 11 24H2's WARP now **refuses** the three `CopyTextureRegion upload` rows (offsets 16 and 4, row pitch 260) the column recorded as succeeding. Their `layer_stricter` marks then fail "now matches WARP; mark it Known::match" — although the layer itself did not change; only the host runtime did. Same drift class as #1721 (CreateHeap), one file over. A `layer_stricter`/`layer_looser` mark verifies that the recorded gap still exists, so for those rows the measured column stays the reference when the live verdict differs from it; the drift is still reported and counted in `warp_changed`. `match` rows keep the live WARP answer authoritative, as before. AI-assisted. Tested: `d3d12_close_parity_test.exe` (Debug, MSVC 19.43) on NVIDIA GeForce GTX 1050, driver 582.28, + WARP on Windows 11 24H2 — before: 117 cases, 3 failures; after: 86 match, 16 known stricter, 15 known looser, 3 drifted rows compared with the measured column, **0 failures**.
zmasi commented 2026-11-28 12:41:29 +00:00

#1888 | head e0fd144072055b006b98ea3961739bcd646b7a7c (merged cleanly with main d48a957bb9988afce424552a3c0c8d01ef12320f) | ctest --test-dir runtime/build -C RelWithDebInfo -R "^d3d12_close_parity$" --output-on-failure (LEONIDA_VK_VALIDATION=1) | baseline on main: passes (117 cases, 86 match WARP, 16 known layer-stricter, 15 known layer-looser, 0 where WARP differs from the measured column, 0 failures on a baseline Windows 11 26200 d3d10warp.dll build matching the recorded column, complementing the PR's drifted-WARP repro) | green on PR+main: d3d12_close_parity passes (117 cases, 86 match WARP, 16 known layer-stricter, 15 known layer-looser, 0 where WARP differs from the measured column, 0 failures) on RTX 3090 + WARP with 0 Khronos validation errors; check_no_game_data.py 0 violations | Windows 11, MSVC 19.44, RTX 3090, Vulkan SDK 1.4.363.1 | AI-assisted: yes

#1888 | head e0fd144072055b006b98ea3961739bcd646b7a7c (merged cleanly with main d48a957bb9988afce424552a3c0c8d01ef12320f) | `ctest --test-dir runtime/build -C RelWithDebInfo -R "^d3d12_close_parity$" --output-on-failure` (`LEONIDA_VK_VALIDATION=1`) | baseline on main: passes (`117 cases, 86 match WARP, 16 known layer-stricter, 15 known layer-looser, 0 where WARP differs from the measured column, 0 failures` on a baseline Windows 11 `26200` `d3d10warp.dll` build matching the recorded column, complementing the PR's drifted-WARP repro) | green on PR+main: `d3d12_close_parity` passes (`117 cases, 86 match WARP, 16 known layer-stricter, 15 known layer-looser, 0 where WARP differs from the measured column, 0 failures`) on RTX 3090 + WARP with `0` Khronos validation errors; `check_no_game_data.py` `0` violations | Windows 11, MSVC 19.44, RTX 3090, Vulkan SDK 1.4.363.1 | AI-assisted: yes
OreoFR commented 2026-11-28 21:55:47 +00:00

Verified by OreoFR

  • Base: main c1ecf04ed + PR head e0fd14407; green run in a merge package of 15 PRs, no new ctest failure vs main
  • Test: ctest -R ^d3d12_close_parity$
  • Red on main: OK
  • Green with the PR: OK
  • Verdict: NO RED (test-only PR; this machine's WARP does not diverge from the measured column, so the fixed branch is not exercised)
  • Machine: RTX 4070 Laptop 8 GB, NVIDIA 621.40, Intel Core Ultra 7 155H, Windows 11

AI-assisted (Claude Code, Claude Opus 5.5).

**Verified by OreoFR** - Base: main `c1ecf04ed` + PR head `e0fd14407`; green run in a merge package of 15 PRs, no new ctest failure vs main - Test: `ctest -R ^d3d12_close_parity$` - Red on main: OK - Green with the PR: OK - Verdict: NO RED (test-only PR; this machine's WARP does not diverge from the measured column, so the fixed branch is not exercised) - Machine: RTX 4070 Laptop 8 GB, NVIDIA 621.40, Intel Core Ultra 7 155H, Windows 11 AI-assisted (Claude Code, Claude Opus 5.5).
Tauwni commented 2026-11-29 04:38:47 +00:00

Windows 10 complement (no result here covered Windows 10's WARP yet). AMD Radeon RX 9060 XT (RDNA4), driver 32.0.23033.1002, Windows 10 Pro 22H2 19045.7846, in-box d3d10warp.dll 10.0.19041.7811, MSVC 14.44 RelWithDebInfo. MEASURED, 3 runs each, ctest -R "^d3d12_close_parity$":

  • main b6bf3aa0b: fails 3/3. The CopyTextureRegion upload, offset 16 / offset 4 (not 512-aligned) cases print "now matches WARP; mark it Known::match in the table".
  • main + e0fd14407 (merges cleanly): passes 3/3.
  • main + #989 a79ae66d2 alone: passes 3/3. main + #989 + this PR (both edit d3d12_close_parity_test.cpp, they auto-merge without conflict): passes 3/3. So on Windows 10 the two do not fight, whichever lands first.

Not checked by a second agent or human yet. AI-assisted: yes (Claude Code).

Windows 10 complement (no result here covered Windows 10's WARP yet). AMD Radeon RX 9060 XT (RDNA4), driver 32.0.23033.1002, Windows 10 Pro 22H2 19045.7846, in-box `d3d10warp.dll` 10.0.19041.7811, MSVC 14.44 RelWithDebInfo. MEASURED, 3 runs each, `ctest -R "^d3d12_close_parity$"`: - `main` `b6bf3aa0b`: fails 3/3. The `CopyTextureRegion upload, offset 16` / `offset 4 (not 512-aligned)` cases print "now matches WARP; mark it Known::match in the table". - `main` + `e0fd14407` (merges cleanly): passes 3/3. - `main` + #989 `a79ae66d2` alone: passes 3/3. `main` + #989 + this PR (both edit `d3d12_close_parity_test.cpp`, they auto-merge without conflict): passes 3/3. So on Windows 10 the two do not fight, whichever lands first. Not checked by a second agent or human yet. AI-assisted: yes (Claude Code).
aslan2142 commented 2026-12-01 16:38:40 +00:00

Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (d3d12/) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, d3d12/, or general docs), please feel free to reopen it.

Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (`d3d12/`) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, `d3d12/`, or general docs), please feel free to reopen it.
Sign in to join this conversation.
No description provided.