pvr: Add pvr_clear_vertices_upload().
authorKarmjit Mahil <Karmjit.Mahil@imgtec.com>
Fri, 23 Sep 2022 16:24:05 +0000 (17:24 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 4 Jan 2023 16:30:39 +0000 (16:30 +0000)
commit603570535d1c070dd2bcd9e8e0451e955618f97b
tree6e37221a5e096358388f9a3e0450bc52ade166b9
parent13fc4b1780f0e25625707d7a0aba967064201091
pvr: Add pvr_clear_vertices_upload().

This function allows to easily setup and upload the vertices
required to clear a specific area. The vertices are
arranged in a triangle strip.

This will also be used in following commits implementing
vkCmdClearAttachments().

Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20055>
src/imagination/vulkan/pvr_clear.c