zink: add screen interfaces for pipeline barriers
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 30 Aug 2022 15:20:04 +0000 (11:20 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 19 Sep 2022 01:42:28 +0000 (01:42 +0000)
commit8c4aaa154a0ff04be26829c822a8a30f1dd911b9
tree53899cbecd8f79f4e8db4ec2be58ad053b27a9c0
parent5a78fe4445b7f3223fe0a5b6975a159f2b478b99
zink: add screen interfaces for pipeline barriers

this will enable direct calling of the right function without the overhead
of having conditionals in the barrier functions themselves

eventually, the '2' variants will be widely enough deployed that
this can be deleted

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18628>
src/gallium/drivers/zink/zink_screen.c
src/gallium/drivers/zink/zink_types.h