v3dv: add a helper to get the Z/S buffer from an aspect mask
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 6 Feb 2020 11:36:48 +0000 (12:36 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:27 +0000 (21:21 +0000)
commit255d4245fdec919c0d06d8f3e7c3abb41579e739
tree574bb252018017856a23ab64e90b5ea0798cc200
parent68692297ba67575be0207b497603851b3743edda
v3dv: add a helper to get the Z/S buffer from an aspect mask

We will be using this when we need to implement other clearing commands.

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