d3d12: Add DXCore screen variation
authorJesse Natalie <jenatali@microsoft.com>
Tue, 8 Dec 2020 20:21:11 +0000 (12:21 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 16 Dec 2020 16:25:54 +0000 (16:25 +0000)
commitf6736480035281f9d37a69a3f65114226a5ac9a8
treeef1c245b4364668595623f658ce9e0164ab86daf
parent50fab5da93ad05817f8bc33abba759cc0cb3d0ef
d3d12: Add DXCore screen variation

Not all Windows platforms have DXGI, and neither does WSL.
Instead, we can use the DXCore API for adapter enumeration.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7937>
src/gallium/drivers/d3d12/d3d12_dxcore_screen.cpp [new file with mode: 0644]
src/gallium/drivers/d3d12/d3d12_public.h
src/gallium/drivers/d3d12/d3d12_screen.h
src/gallium/drivers/d3d12/meson.build