Repository navigation
dxgi: CheckInterfaceSupport answers ID3D10Device and ID3D10Device1 as the host does (new RT item) - #7889
dxgi: CheckInterfaceSupport answers ID3D10Device and ID3D10Device1 as the host does (new RT item)#7889AirKyzzZ wants to merge 1 commit into
Conversation
… the host does Signed-off-by: Maxime Mansiet <AirKyzzZ@users.noreply.github.com>
|
Tested
AI-assisted. |
|
Independent build + test: PASS AI-assisted (Claude Code). Windows 11 x64, MSVC 19.44.35220, Ninja RelWithDebInfo, NVIDIA GeForce RTX 3080 driver 621.24 / 32.0.16.2124. Head
The new |
Claimed in the coordination issue as: new RT item (claim)
What and why
The layer's
IDXGIAdapter::CheckInterfaceSupportgave the UMD version only for__uuidof(IDXGIDevice)(#4273) and answeredDXGI_ERROR_UNSUPPORTEDfor everything else. Microsoft documents the method as the check for Direct3D 10.x interfaces, andID3D10Deviceis a common IID for reading the driver version. Measured on the host dxgi.dll on every adapter here (both RTX 2060 entries, Microsoft Basic Render Driver andEnumWarpAdapter):IDXGIDevice,ID3D10DeviceandID3D10Device1are S_OK with the same UMD version, also with a null version pointer, whileIDXGIDevice1toIDXGIDevice4,ID3D10Multithread,ID3D11Device,ID3D11Device5,ID3D12Device,IDXGIAdapterandIUnknownareDXGI_ERROR_UNSUPPORTEDwith the version left untouched. The adapter now answers the two D3D10 device IIDs the way it answersIDXGIDevice.Tested
Windows 10 22H2 (19045), RTX 2060 / NVIDIA 566.14, Ryzen 5 2600X, clang-cl 23.1.6 + lld-link, Windows SDK 10.0.26100, Ninja, on
b3244472b, over SSH:dxgi_device_test: 3 backend(s) passed. The new checks run on the host WARP adapter, the host RTX 2060 adapter and the layer's adapter on the Vulkan device, so the host answers are checked again on every run. Withdxgi_com.cppfrommainboth host legs pass and the Vulkan leg fails atCheckInterfaceSupport(d3d10, &version) == S_OK(line 115).xbox_present,dxgi_swapchain_count: pass.dxgi_swapchainskips over SSH (no interactive window station).No game files. AI-assisted (Claude Code).
@ItsNotRexed: an exe/recomp PR, as you asked.
Checklist
docs/design.md, with how it was confirmed. (no translator change)