v3dv: handle partial clears of just one aspect of combined DS targets
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 7 Apr 2020 08:14:33 +0000 (10:14 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:29 +0000 (21:21 +0000)
commit1b80bac236df9199bf5532a3226401ea84ffa3e7
tree3e5b18aa3f0c9dfafe683ed78f5af4d11c84f2ed
parentb31ea83b80fcb62f23cf7ab11cd6084fcfa37915
v3dv: handle partial clears of just one aspect of combined DS targets

For these we can still use a compatible color format, but we need to mask
out the color components matching the aspect that is preserved.

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