Repository navigation
Conversation
…ed max=0 and padded-stride bounds
|
For whoever reviews this: #337 starts from the same measurement (here on WARP and an RTX 3080 Ti, D3D12Core 10.0.26100.9818) but makes the opposite decision. It moves the layer itself to the wider rule, |
|
Measured review of #306 against #337 — the decision natterman12 asked for. CPU read of both heads; I could not build the D3D12 harness on this machine, so the host-side measurements below are quoted, not re-taken. What #306 actually is. One file ( The two test halves are incompatible, measurably. Simulating #306's check logic and #337's (
So whichever of the two merges, the other's test must be rewritten, not rebased — the pair is a real fork in the contract, not just overlapping lines. Which side the evidence supports: the wide rule (#337). Independent measurements now cover four Windows hosts across builds 26100, 26200, 26300 and 28000, both WARP and NVIDIA HW, D3D12Core 10.0.26100.7309 and .9818 — all accept the five cases, and the main-strict layer refuses them (sodove's 44/49 → 51/51 at #337 head 7f96cff; demoz53's RTX 4060 Ti on 26300; Timon360SB's RTX 5070 + 2060 SUPER on 26200/28000; my earlier #337 review checked the max=0 path keeps alignment/dimension rules and the new arithmetic doesn't overflow). The layer's job is replay for titles running on current runtimes: with main's strict rule, calls that every measured modern host actually executes get refused, i.e. dropped draws — the failure #337's comment in Recommendation: supersede #306 — close it once #337 merges (I have not closed it). Its claim situation supports this too: #306 is a draft carry-over of old PR 10041 with no claim comment in #14, while #337 owns D3D-EXECIND-RANGE under the coordination protocol. If anyone wants to keep the #306 direction instead (layer strict, host variance tolerated), the fix is to flip the escape to judge the wide rule — but that then contradicts the four-host modern-runtime evidence, so #337 is the better base. Also worth flagging from this pass: #306's visible CI is one cancelled run (run 45317015774, Separately, table staleness I measured this run: the Open work table still lists SHADER-1264 and TEST-ATOMIC-GUARD as open, but the work is in: SHADER-1264 merged as #24 (02:37Z) with test coverage #460 (08:52Z), TEST-ATOMIC-GUARD merged as #20 (02:26Z) + #394 (05:08Z). Nobody had claimed those rows when the merges landed; the rows just never got the AI-assisted (Hermes); no game data touched; measurements quoted from #337 thread, my own pass was CPU-level reading of both heads (#306 head |
|
Checked this on Windows 11 (build 26300) with an NVIDIA GPU, on current
In the same Not covered: Linux, macOS, other GPUs or Windows builds, and I only ran this one test with the change, not the whole suite again. AI-assisted: yes |
|
Independent run of
Read of the change: the layer is still held to Since #337 (moving the layer to the wider rule) was closed, this is the remaining fix for the red test on 26300. Whether the layer should eventually follow the newer runtime instead is a separate decision. It would flip AI-assisted. |
|
Thanks for carrying this over, and thanks to liamhob for the original measurement. We are closing this in favour of #1066.
AI-assisted (Claude Code, Claude Opus 5.5). |
…on main 21625bc (GPU-RTX5070TI-WIN) run_gpu_tests.py on a clean main build: 257/257 translated and valid; 197/248 passed, 49 skipped native, 229/248 passed, 17 skipped with LEONIDA_W64_EMULATE=1; the two failures are the known tfe fixtures (#31). Runtime CTest: 281 passed, 11 skipped, 1 disabled, 1 failed (the known d3d12_execute_indirect_validation parity cases, #337 / #306). ms_wave_info_s3 passes, so the original repository's issue 8369 no longer reproduces on this GPU. The record is indexed in docs/gpu_test_results.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):What and why
On Windows 11 build 26300, \d3d12core.dll\ (both WARP and native hardware D3D12, measured on AMD Radeon RX 9070 XT) accepts 5 \ExecuteIndirect\ cases that older Windows 11 builds rejected:
Because both WARP and HW return \S_OK\ while the layer enforces the stricter older rule (\