venus: track pool in cmd and track device in pool

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24009>
This commit is contained in:
Yiwei Zhang
2023-07-04 15:21:23 -07:00
committed by Marge Bot
parent fe4cf26687
commit 81aa680b3c
2 changed files with 9 additions and 8 deletions
+2 -1
View File
@@ -19,6 +19,7 @@ struct vn_command_pool {
struct vn_object_base base;
VkAllocationCallbacks allocator;
struct vn_device *device;
uint32_t queue_family_index;
struct list_head command_buffers;
@@ -53,7 +54,7 @@ struct vn_command_buffer_builder {
struct vn_command_buffer {
struct vn_object_base base;
struct vn_device *device;
struct vn_command_pool *pool;
VkAllocationCallbacks allocator;
VkCommandBufferLevel level;