dzn: Remove device pointers from descriptor heaps
authorJesse Natalie <jenatali@microsoft.com>
Tue, 28 Feb 2023 21:54:18 +0000 (13:54 -0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Mar 2023 21:48:43 +0000 (21:48 +0000)
commit599abf5b1ae216c90a3e550d8c70f7df96ef2219
tree361711125f8a6a326e50f9bfdfd91da949ee1ced
parent79ef6e4e8fc3faa69e77b0a9503f6d6662c5d540
dzn: Remove device pointers from descriptor heaps

A future change is going to add descriptor heaps *to* the dzn_device,
and having 3x ID3D12Device pointers in a single object just seems
wrong. All of the callers already had a device, so just pass it
along where needed.

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