zink: add generic wrapper for checking whether a resource needs a barrier

Graphics / Mesa 3D Graphics Library / Mesa - Mike Blumenkrantz [gmail.com] - 19 February 2021 02:05 UTC

handy to not need to check ahead of time

5d7cb2495ad zink: add generic wrapper for checking whether a resource needs a barrier
src/gallium/drivers/zink/zink_context.c | 8 ++++++++
src/gallium/drivers/zink/zink_context.h | 3 +++
2 files changed, 11 insertions(+)

Upstream: cgit.freedesktop.org


  • Share