venus: clean up vn_get_intercepted_barriers
authorChia-I Wu <olvaffe@gmail.com>
Thu, 6 May 2021 16:57:57 +0000 (09:57 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 3 Jun 2021 06:03:31 +0000 (06:03 +0000)
commit93abaf6fe85a26046c0b9ae2383d24fd7235de40
tree27c14912a9c1159494067e86bf8d79a324f60d41
parent7ec6cb61ad79b3751a93ca1c63767d6b8b178801
venus: clean up vn_get_intercepted_barriers

Add vn_cmd_{wait_events,pipeline_barrier}_fix_image_memory_barries to
replace vn_get_intercepted_barriers.  The two new functions are
identical currently, but that will change soon.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709>
src/virtio/vulkan/vn_command_buffer.c