venus: remember cmd buffer render pass and framebuffer

We need them for wsi queue ownership transfer.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709>
This commit is contained in:
Chia-I Wu
2021-05-05 12:24:21 -07:00
committed by Marge Bot
parent c85aa41046
commit ccf85f6604
2 changed files with 45 additions and 0 deletions
+3
View File
@@ -39,6 +39,9 @@ struct vn_command_buffer_builder {
/* for scrubbing VK_IMAGE_LAYOUT_PRESENT_SRC_KHR */
uint32_t image_barrier_count;
VkImageMemoryBarrier *image_barriers;
const struct vn_render_pass *render_pass;
const struct vn_framebuffer *framebuffer;
};
struct vn_command_buffer {