anv/pass: Move some dependency setup into a helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 24 Apr 2018 19:57:39 +0000 (12:57 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 9 Jul 2018 17:11:53 +0000 (10:11 -0700)
commit144626946e18d34111d4cc3013771cbc3bb8e740
tree873cbfdcbc542c932f5916d5521446c67737c152
parent6f9485d21f795730fc2af32adeab205d0810b95b
anv/pass: Move some dependency setup into a helper

This new helper takes a VkSubpassDependency2KHR for future-proofing.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_pass.c