zink: improve zink_clear_depth_stencil check for current attachment
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 6 Jul 2022 12:29:30 +0000 (08:29 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 18 Jul 2022 03:40:37 +0000 (03:40 +0000)
commit3488dc7dd0f2f9c11f384aed16fbecefcd472e4e
tree787b68356e5b446d8a5bd3fa52a852c3e837dbef
parentc1cc2bd48ebbde9e1ee6f41bec3f855adec8f6d9
zink: improve zink_clear_depth_stencil check for current attachment

this is technically more correct since it accounts for multi-context usage

Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17366>
src/gallium/drivers/zink/zink_clear.c