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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user