Repository navigation
Conversation
…D12Device11 Windows 11 23H2's in-box runtime (D3D12Core 10.0.22621.5415) has ID3D12Device10 but not ID3D12Device11, and still answers six cases as Windows 10 does: the HARDWARE_PROTECTED heap (committed and heap), resource flag 0x400 on a buffer and on a texture, 2049 shader-visible samplers, and a type -1 command list. The test told Windows 10 apart by a missing ID3D12Device10, so it failed on 23H2 at argument_mismatches and then at heap_mismatches. Those five comparable cases now need ID3D12Device11 on the host, and windows10_refusal() excuses its one pair on a host without ID3D12Device11. The other ID3D12Device10 cases agree on 23H2 and are unchanged.
31d2798 to
32740be
Compare
Kam471
left a comment
There was a problem hiding this comment.
Built and ran at 31d279823 on Windows 11 25H2 (build 26200), RTX 5070 Ti:
d3d12_vulkan_device_test-> exit 0, including theGetResourceAllocationInfo, format/feature, copy, tiling and CheckFeatureSupport sections.mods_test-> 18 checks, 0 failures.
The windows10_refusal probe and the five affected cases now key on ID3D12Device11 instead of ID3D12Device10, which correctly excludes 23H2's D3D12Core 10.0.22621.5415 (has Device10, no Device11); a 25H2 host still compares them and passes. git diff --check clean.
Stacking note: this branch also carries db51b7d3f (owner-authored Mods: mod.json manifests…) under the actual test change. Merging it would land that whole Mods feature with this PR. Six open PRs currently share that base — see the coordination note.
|
Tested at Summary
AI-assisted (Gemini, Antigravity). |
|
Independent check on AMD: Radeon RX 9070 XT, AMD Software 26.10.1 (Vulkan driver 2.0.416), Windows 11 23H2 22631.6199, MSVC 14.51 Release, main 98fa503 + this PR. The five regated cases (HARDWARE_PROTECTED texture, flag 0x400 on a buffer and a texture, 2049 shader-visible samplers, command list type -1) print "not comparable on this host", as on your RTX 5060 run.
No game files. AI-assisted (Claude Code). |
Claimed in the coordination issue as: #4571 (comment) (new TEST item, TEST-724 follow-up)
What and why
After #3557,
d3d12_vulkan_devicestill fails on Windows 11 23H2 (line 5324: argument_mismatches <= 0, thenheap_mismatches <= 0once that passes). #3557 tells Windows 10 apart by a missingID3D12Device10. But the 23H2 in-box runtime (D3D12Core 10.0.22621.5415) hasID3D12Device10and still answers six cases as Windows 10 does. Measured with a probe: noID3D12Device11throughID3D12Device14, andOPTIONS16-OPTIONS18refused, on WARP and on the hardware adapter.windows10_refuses)The change (test only)
device11predicate gates the five comparable cases above, instead ofdevice10. They printnot comparable on this hostthere, as before on Windows 10.windows10_refusal()now excuses its single pair (layerS_OK, hostE_INVALIDARG) on a host withoutID3D12Device11. It names both runtimes in its message.+device10cases (for exampleRAYTRACING_ACCELERATION_STRUCTUREon a texture) agree on 23H2 and are unchanged.Newer runtimes have
ID3D12Device11:d3d12_sampler2_testalready compares against anID3D12Device11host, and it reportsno host D3D12 deviceon this 23H2 machine. So nothing changes on a 24H2 host. A run there that still prints these cases as compared would confirm it.Tested
At
2d3369a4+ this commit, on NVIDIA GeForce RTX 5060 (Blackwell), driver 621.01, Windows 11 23H2 22631.6199, MSVC 19.44, Vulkan SDK 1.4.363:argument_mismatches(5 cases), then atheap_mismatches(1 case);... CheckFeatureSupport error paths all matchedand the six cases printed as not comparable or excused.Related 23H2 host-oracle fixes: #4653, #4658. Independent of each other.
No game files. AI-assisted.