zink: add helper for image resource barriers and avoid unnecessary barriers
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 19 Aug 2020 15:28:58 +0000 (11:28 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 19 Feb 2021 02:05:13 +0000 (02:05 +0000)
commit03030f87a175cdcbda64c87c8860d3effdbe71c7
tree2cf3c1189a376433c6130ff5c5b4e48840988831
parentb00f407996a77eb723a5169e87a12cddc4f13051
zink: add helper for image resource barriers and avoid unnecessary barriers

same as buffer barriers now

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