diff options
| author | Exopus <230622659+Exopus-0x65f7ad0@users.noreply.github.com> | 2026-11-23 01:28:55 +0100 |
|---|---|---|
| committer | Exopus <230622659+Exopus-0x65f7ad0@users.noreply.github.com> | 2026-11-23 01:28:55 +0100 |
| commit | e27efbc11dca3b6a16ea9013a2316ed4ee9f3c4a (patch) | |
| tree | 0714321bfed39040f71897f3cbdd10c580a8fd22 /runtime/src/pe_loader.cpp | |
| parent | aa2988cc555bad7ecd508b48a702adbb32fe7c95 (diff) | |
dxgi: CheckInterfaceSupport reports the adapter's real UMD driver version
IDXGIAdapter::CheckInterfaceSupport(IDXGIDevice) reported a user-mode
driver version of 0. Host DXGI reports the adapter's, which titles read
as the driver version. The layer now reads it the way DXGI does,
D3DKMTOpenAdapterFromLuid + D3DKMTQueryAdapterInfo(
KMTQAITYPE_UMD_DRIVER_VERSION) on the adapter's Vulkan deviceLUID,
looked up from gdi32 at run time (0 kept when missing or failing, e.g.
under Wine); the host dxgi.dll isn't used. Measured equal to host DXGI
on an RTX 5060 Ti (0x0020000000100842, driver 621.14) and on WARP.
dxgi_swapchain_test compares it with the host adapter of the same LUID
(host dxgi.dll loaded at run time); fails on main with 0.
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