Commit f8d694c5 authored by Steve Lhomme's avatar Steve Lhomme

d3d11_fmt: more documentation on WDDM driver information

parent 37ddfafb
......@@ -439,6 +439,10 @@ bool CanUseVoutPool(d3d11_device_t *d3d_dev, UINT slices)
#endif
}
/**
* Performs a check on each value of the WDDM version. Any value that is OK will
* consider the driver valid (OR on each value)
*/
int D3D11CheckDriverVersion(d3d11_device_t *d3d_dev, UINT vendorId, const struct wddm_version *min_ver)
{
IDXGIAdapter *pAdapter = D3D11DeviceAdapter(d3d_dev->d3ddevice);
......
......@@ -30,7 +30,10 @@
DEFINE_GUID(GUID_CONTEXT_MUTEX, 0x472e8835, 0x3f8e, 0x4f93, 0xa0, 0xcb, 0x25, 0x79, 0x77, 0x6c, 0xed, 0x86);
/* see https://msdn.microsoft.com/windows/hardware/commercialize/design/compatibility/device-graphics */
/* see https://msdn.microsoft.com/windows/hardware/commercialize/design/compatibility/device-graphics
* https://docs.microsoft.com/en-us/windows-hardware/drivers/display/wddm-2-1-features#driver-versioning
* https://www.intel.com/content/www/us/en/support/articles/000005654/graphics-drivers.html
*/
struct wddm_version
{
int wddm, d3d_features, revision, build;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment