dzn: Inline D3D12 device creation in physical device creation
authorJesse Natalie <jenatali@microsoft.com>
Wed, 14 Jun 2023 18:57:18 +0000 (11:57 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 21 Jun 2023 22:27:08 +0000 (22:27 +0000)
commit7a68617692f3632a87decce1f751196226daabf4
tree86e504cbcd6ab3e1ae722786312eee81fb204400
parentbadb85edb8ff2236f38dbbbdd3aeb9febf02f54f
dzn: Inline D3D12 device creation in physical device creation

This was effectively happening *anyway* because WSI init was calling
functions that needed a D3D12 device around to be able to answer.
Just remove the whole song and dance of maybe not having a device.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23658>
src/microsoft/vulkan/dzn_device.c
src/microsoft/vulkan/dzn_private.h