vulkan: implement legacy entrypoints on top of VK_KHR_synchronization2
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 10 Feb 2021 00:24:39 +0000 (02:24 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 Oct 2021 20:22:38 +0000 (20:22 +0000)
commit97f0a4494b97d89146cf66dfa0c9b1946bf3fc22
treeed8bdaf402c834d6eb6ae6470abcdc89e8797830
parent9af750637050662c771868465ae96c618c87d216
vulkan: implement legacy entrypoints on top of VK_KHR_synchronization2

v2: fix common vkQueueSubmit() pNext generation
    fix potential leak of perf_query_submit_info
    fix comment about casting VkQueue to vk_object_base
    add helper for barrier struct upgrades (Jason)
    reuse __vk_append_struct() (Jason)
    optimize vk_common_GetQueueCheckpointDataNV
    use multialloc for vk_common_QueueSubmit (Dave)

v3: Reuse new vk_queue/vk_command_buffer objects
    Fixup CmdWaitEvents() (Jason)

v4: Add comment about dep_flags for CmdWaitEvents() (Jason)

v5: Drop multialloc in VkQueueSubmit entrypoint (Jason)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v5)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9045>
src/vulkan/util/meson.build
src/vulkan/util/vk_synchronization2.c [new file with mode: 0644]