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:
authorVonsek <45567075+Vonsek@users.noreply.github.com>2026-11-22 15:08:57 +0100
committerVonsek <45567075+Vonsek@users.noreply.github.com>2026-11-22 15:08:57 +0100
commit1f12cd9f167fd2a6742cce70146693833ae75f8a (patch)
treee648a64e80f504b4bd16a077da98fc3b59863af6 /runtime/src/pe_loader.cpp
parent89b047cd8fab50675a43d76722a6a8a881f55dc2 (diff)
Tests: compare d3d12_vulkan_device with the host on the layer's own adapter
On a PC with two GPUs, D3D12's default adapter can be a different GPU from the one LEONIDA_VK_DEVICE gives the layer. d3d12_vulkan_device's host comparisons (create_host_device, the D3D-46 copies) then compared one GPU's Vulkan driver with the other GPU's D3D12 driver: with the layer on an AMD RDNA2 iGPU and an RTX 5080 as adapter 0 it failed at argument_mismatches (format 67 RT: the AMD layer accepts an R9G9B9E5 render target, the NVIDIA host refuses it). copycmp::layer_adapter() holds the Vulkan device's LUID. When LEONIDA_HOST_ADAPTER is unset, create_host tries that adapter first and falls back to the default one. The test sets it from VkPhysicalDeviceIDProperties in main. LEONIDA_HOST_ADAPTER still wins. 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