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

Closed
kotekompotek wants to merge 1 commit from upstream-pr/1888 into main
kotekompotek commented 2026-11-25 14:30:21 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by kotekompotek on 2026-11-25T14:30:21Z.


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.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5493320209 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1888). Originally posted by [kotekompotek](https://github.com/kotekompotek) on 2026-11-25T14:30:21Z. --- 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 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T12:41:29Z.


#1888 | head e0fd144072 (merged cleanly with main d48a957bb9) | 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

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7239400821 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1888#issuecomment-7239400821). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-28T12:41:29Z. --- #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 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-28T21:55:47Z.


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).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7246374814 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1888#issuecomment-7246374814). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-28T21:55:47Z. --- **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 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Tauwni on 2026-11-29T04:38:47Z.


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).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7250776863 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1888#issuecomment-7250776863). Originally posted by [Tauwni](https://github.com/Tauwni) on 2026-11-29T04:38:47Z. --- 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 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T16:38:40Z.


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.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7317951669 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1888#issuecomment-7317951669). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T16:38:40Z. --- 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.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!1888
No description provided.