v3dv: implement partial depth/stencil attachment clears
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 31 Mar 2020 09:08:45 +0000 (11:08 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:29 +0000 (21:21 +0000)
commitc09c8c0ef35ca5e31f11926ad9e04220faee8a34
tree65a9aefb32963cb215e44f894cd18e42ef3b4077
parent7a39e5e9022958b68af55d06ae0e48ae20a93b17
v3dv: implement partial depth/stencil attachment clears

This is achieved by bounding the depth/stencil attachment as a color
attachment with a compatible format and emitting a color clear instead.

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