Skip to content

d3d11_fmt: use CheckInterfaceSupport() to get the driver version

Steve Lhomme requested to merge robUx4/vlc:fast-dxgi-driver into master

It works well with WDDM 2.3 (Windows 10 Fall Creators Update (version 1709)) and above. Otherwise we fallback to the old way.

This is advertised as a way to do this: https://learn.microsoft.com/en-us/windows/win32/api/dxgi/nf-dxgi-idxgiadapter-checkinterfacesupport

This should usually be __uuidof(IDXGIDevice), which returns the version number of the Direct3D 9 UMD (user mode driver) binary. Since WDDM 2.3, all driver components within a driver package (D3D9, D3D11, and D3D12) have been required to share a single version number, so this is a good way to query the driver version regardless of which API is being used.

Merge request reports

Loading