v3dv: add a helper to compute the hardware clear color
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 6 Feb 2020 11:34:15 +0000 (12:34 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:27 +0000 (21:21 +0000)
commit68692297ba67575be0207b497603851b3743edda
treeec354898079ea8586b135fcad098799b66cec68c
parentaa8a61f0aef483cc87c51b5bef03942795fe511d
v3dv: add a helper to compute the hardware clear color

We will be using this when we implement other clearing commands
(currently this is only used for the atatchment load clear operation).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/vulkan/v3dv_cmd_buffer.c
src/broadcom/vulkan/v3dv_private.h