zink: unify code for setting resource barriers
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 29 May 2020 18:46:53 +0000 (14:46 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 25 Jun 2020 12:50:21 +0000 (12:50 +0000)
commit37e7a5e746dbb57bc44ff9da308b7bfc529e40d6
tree081fb13a73751f4cadef20fe772829535ab177ad
parenta102896cff296fe305e4734be4a1774958d969d8
zink: unify code for setting resource barriers

no functional changes, this code was just duplicated

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5615>
src/gallium/drivers/zink/zink_context.c