vulkan: Add a common CmdBegin/EndRederPass implementation
This implements vkCmdBeginRenderPass, vkCmdEndRenderPass, and vkCmdNextSubpass in terms of the new vkCmdBegin/EndRendering included in VK_KHR_dynamic_rendering and Vulkan 1.3. All subpass dependencies and implicit layout transitions are turned into actual barriers. It does require VK_KHR_synchronization2 because it always uses the 64-bit version of the pipeline stage and access bitfields. Reviewed-by:Ivan Briano <ivan.briano@intel.com> Part-of: <mesa/mesa!14961>
- src/vulkan/runtime/vk_command_buffer.c 2 additions, 0 deletionssrc/vulkan/runtime/vk_command_buffer.c
- src/vulkan/runtime/vk_command_buffer.h 38 additions, 0 deletionssrc/vulkan/runtime/vk_command_buffer.h
- src/vulkan/runtime/vk_render_pass.c 908 additions, 1 deletionsrc/vulkan/runtime/vk_render_pass.c
- src/vulkan/runtime/vk_render_pass.h 29 additions, 1 deletionsrc/vulkan/runtime/vk_render_pass.h