zink: add generic wrapper for checking whether a resource needs a barrier
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 19 Aug 2020 19:41:41 +0000 (15:41 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 19 Feb 2021 02:05:13 +0000 (02:05 +0000)
commit5d7cb2495ad163671b95f58ac606c11a958b4a9a
tree9f4cd654f8aac6a0695353ce45f49f74a2df8d17
parent4536607ea0a66bee2540c1b292103b42605afa08
zink: add generic wrapper for checking whether a resource needs a barrier

handy to not need to check ahead of time

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8945>
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_context.h