mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:00:52 +01:00
[PR #1721] test: skip host CreateHeap comparison when the host refuses every heap #1734
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1734
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1721
Author: @kotekompotek
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:work/d3d12-vulkan-device-test-gtx1050📝 Commits (1)
97707b7test: skip host CreateHeap comparison when the host refuses every heap📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
runtime/test/d3d12_vulkan_device_test.cpp(+6 -0)📄 Description
Item: TEST-CREATEHEAP-HOST-PROBE — claimed in the coordination issue
d3d12_vulkan_device_testcompares the layer's answers with a host D3D12 device. On a GTX 1050 (driver 582.28, Windows 11 24H2) that host runtime answersE_INVALIDARGfor everyCreateHeap, including the canonical 64 KiB default heap, so:compare_heap_neighboursread each valid-neighbour case as a mismatch (line 7359: heap_mismatches <= 0), andcompare_placed_reservedcollapsed every placed case to the host'sE_UNEXPECTED(line 7371: placed_mismatches <= 0).A native probe on the same box shows the contrast: the GTX 1050 runtime refuses even the plain default/upload heaps, while Intel UHD 630 and WARP accept them (all three refuse the genuinely-invalid cases like zero-size). So the layer's
S_OKanswers are right; the host is just not comparable.Both functions now probe the canonical 64 KiB heap once after
create_host_deviceand return the existing "no host D3D12 device to compare with, skipped" path when the host cannot create one. On a host that can, nothing changes — same comparability-gate shape aswindows10_refuses/host_ray_tracing.AI-assisted.
Tested:
d3d12_vulkan_device_test.exe(Debug, MSVC 19.43) on NVIDIA GeForce GTX 1050, driver 582.28, Windows 11 — full run passes; both sections report the skip, and every other host-comparison section (FORMAT_INFO 195 queries, CheckFeatureSupport 32 queries, FORMAT_SUPPORT 97 formats, placed castable formats, proxy semantics) still compares and matches.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.