v3dv: remove deferred vkCmdClearAtachments path
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 8 Jul 2021 11:35:34 +0000 (13:35 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 12 Jul 2021 07:25:28 +0000 (09:25 +0200)
commitc188d0632696dd383188e77cb438bf55498d9128
tree9e18565f2b3a5bd9215bd510a5e3d42ae24dd7fb
parent5ba7f64b454b78c71be0827c74f37497fd135822
v3dv: remove deferred vkCmdClearAtachments path

This was required to handle the case of secondary command buffers that
did not have framebuffer information available from the primary, since
we used to have an implementation that required this information to
be available for the fallback path of vkCmdClearAttachments. Now that
we can handle our our attachment clears in the current subpass by
emitting draw calls, we no longer need the framebuffer information to
be available and we can remove this.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11783>
src/broadcom/vulkan/v3dv_cmd_buffer.c
src/broadcom/vulkan/v3dv_meta_clear.c
src/broadcom/vulkan/v3dv_private.h
src/broadcom/vulkan/v3dvx_cmd_buffer.c