39 static const struct ExtensionMap {
47#ifdef VK_KHR_shader_relaxed_extended_instruction
64#ifdef VK_EXT_shader_long_vector
67#ifdef VK_EXT_shader_replicated_composites
70#ifdef VK_EXT_zero_initialize_device_memory
74#ifdef VK_KHR_video_maintenance2
88#ifdef VK_KHR_video_decode_vp9
93#ifdef VK_KHR_shader_expect_assume
96#ifdef VK_KHR_shader_maximal_reconvergence
99#ifdef VK_KHR_maintenance9
102#ifdef VK_KHR_unified_image_layouts
105#ifdef VK_KHR_video_encode_av1
108#ifdef VK_KHR_internally_synchronized_queues
111#ifdef VK_KHR_maintenance11
118 for (
int i = 0;
i < nb_extensions;
i++) {
120 if (!strcmp(extensions[
i], extension_map[j].
name)) {
121 mask |= extension_map[j].flag;
This struct aggregates all the (hardware/vendor-specific) "high-level" state, i.e.
Main Vulkan context, allocated as AVHWDeviceContext.hwctx.
PFN_vkGetInstanceProcAddr get_proc_addr
Pointer to a vkGetInstanceProcAddr loading function.