upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorAlxcBTW <187763517+AlxcBTW@users.noreply.github.com>2026-11-22 02:37:32 +0100
committerAlxcBTW <187763517+AlxcBTW@users.noreply.github.com>2026-11-22 02:37:32 +0100
commitad1150a4bec160b626fbf2967e6e19a359f5ee33 (patch)
tree67639d30f6c9585d3b70d7a1c31b0363ea136431 /runtime/src/pe_loader.cpp
parent4c5ce1a945adfb60cde1b7f4e3f905f99a51ca53 (diff)
Test: d3d12_vulkan_device_test compares only what D3D12 fixes about GetResourceTiling, sample counts and null-rect resolves
The tiling comparison required the same standard/packed mip split as the host. D3D11.3 functional spec 5.9.2.8.5 (D3D12_PACKED_MIP_INFO) only requires that a mip filling a tile in every dimension stays standard; a smaller mip "may or may not be packed, depending on the IHV". Measured on one laptop: an RTX 5070 packs from the first mip below the tile (as the layer does), a Radeon 880M keeps one or two more standard, WARP packs nothing. The test failed with 24 mismatches on an AMD or WARP host. It now checks the tile shape, that no mip filling a tile is packed (layer and host), and the tile counts of the mips both sides keep standard; the split itself is printed. With that fixed, the same test failed further down on those hosts for host-specific answers: - depth/colour sample counts a software host (WARP, 16x) offers but the Vulkan GPU's limits lack are skipped; - a null source rectangle in ResolveSubresourceRegion is the whole source; the Radeon 880M and WARP do not resolve it that way, so where a host disagrees with its own whole-source rectangle the layer is held to that result. The host is picked with LEONIDA_HOST_ADAPTER through d3d12_copy_compare.h (D3D-46). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions