Loading vulkan/libvulkan/code-generator.tmpl +1 −0 Original line number Diff line number Diff line Loading @@ -983,6 +983,7 @@ VK_ANDROID_external_memory_android_hardware_buffer {{else if eq $.Name "vkDestroyImage"}}true {{else if eq $.Name "vkGetPhysicalDeviceProperties"}}true {{else if eq $.Name "vkGetPhysicalDeviceProperties2"}}true {{else if eq $.Name "vkGetPhysicalDeviceProperties2KHR"}}true {{end}} Loading vulkan/libvulkan/driver.cpp +8 −3 Original line number Diff line number Diff line Loading @@ -848,7 +848,8 @@ bool QueryPresentationProperties( const InstanceData& data = GetData(physicalDevice); // GPDP2 must be present and enabled on the instance. if (!data.driver.GetPhysicalDeviceProperties2KHR) if (!data.driver.GetPhysicalDeviceProperties2KHR && !data.driver.GetPhysicalDeviceProperties2) return false; // Request the android-specific presentation properties via GPDP2 Loading @@ -866,8 +867,12 @@ bool QueryPresentationProperties( presentation_properties->pNext = nullptr; presentation_properties->sharedImage = VK_FALSE; if (data.driver.GetPhysicalDeviceProperties2KHR) { data.driver.GetPhysicalDeviceProperties2KHR(physicalDevice, &properties); } else { data.driver.GetPhysicalDeviceProperties2(physicalDevice, &properties); } return true; } Loading vulkan/libvulkan/driver_gen.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -494,6 +494,7 @@ bool InitDriverTable(VkInstance instance, INIT_PROC(true, instance, CreateDevice); INIT_PROC(true, instance, EnumerateDeviceExtensionProperties); INIT_PROC(false, instance, EnumeratePhysicalDeviceGroups); INIT_PROC(false, instance, GetPhysicalDeviceProperties2); INIT_PROC_EXT(EXT_debug_report, true, instance, CreateDebugReportCallbackEXT); INIT_PROC_EXT(EXT_debug_report, true, instance, DestroyDebugReportCallbackEXT); INIT_PROC_EXT(EXT_debug_report, true, instance, DebugReportMessageEXT); Loading vulkan/libvulkan/driver_gen.h +1 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,7 @@ struct InstanceDriverTable { PFN_vkCreateDevice CreateDevice; PFN_vkEnumerateDeviceExtensionProperties EnumerateDeviceExtensionProperties; PFN_vkEnumeratePhysicalDeviceGroups EnumeratePhysicalDeviceGroups; PFN_vkGetPhysicalDeviceProperties2 GetPhysicalDeviceProperties2; PFN_vkCreateDebugReportCallbackEXT CreateDebugReportCallbackEXT; PFN_vkDestroyDebugReportCallbackEXT DestroyDebugReportCallbackEXT; PFN_vkDebugReportMessageEXT DebugReportMessageEXT; Loading Loading
vulkan/libvulkan/code-generator.tmpl +1 −0 Original line number Diff line number Diff line Loading @@ -983,6 +983,7 @@ VK_ANDROID_external_memory_android_hardware_buffer {{else if eq $.Name "vkDestroyImage"}}true {{else if eq $.Name "vkGetPhysicalDeviceProperties"}}true {{else if eq $.Name "vkGetPhysicalDeviceProperties2"}}true {{else if eq $.Name "vkGetPhysicalDeviceProperties2KHR"}}true {{end}} Loading
vulkan/libvulkan/driver.cpp +8 −3 Original line number Diff line number Diff line Loading @@ -848,7 +848,8 @@ bool QueryPresentationProperties( const InstanceData& data = GetData(physicalDevice); // GPDP2 must be present and enabled on the instance. if (!data.driver.GetPhysicalDeviceProperties2KHR) if (!data.driver.GetPhysicalDeviceProperties2KHR && !data.driver.GetPhysicalDeviceProperties2) return false; // Request the android-specific presentation properties via GPDP2 Loading @@ -866,8 +867,12 @@ bool QueryPresentationProperties( presentation_properties->pNext = nullptr; presentation_properties->sharedImage = VK_FALSE; if (data.driver.GetPhysicalDeviceProperties2KHR) { data.driver.GetPhysicalDeviceProperties2KHR(physicalDevice, &properties); } else { data.driver.GetPhysicalDeviceProperties2(physicalDevice, &properties); } return true; } Loading
vulkan/libvulkan/driver_gen.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -494,6 +494,7 @@ bool InitDriverTable(VkInstance instance, INIT_PROC(true, instance, CreateDevice); INIT_PROC(true, instance, EnumerateDeviceExtensionProperties); INIT_PROC(false, instance, EnumeratePhysicalDeviceGroups); INIT_PROC(false, instance, GetPhysicalDeviceProperties2); INIT_PROC_EXT(EXT_debug_report, true, instance, CreateDebugReportCallbackEXT); INIT_PROC_EXT(EXT_debug_report, true, instance, DestroyDebugReportCallbackEXT); INIT_PROC_EXT(EXT_debug_report, true, instance, DebugReportMessageEXT); Loading
vulkan/libvulkan/driver_gen.h +1 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,7 @@ struct InstanceDriverTable { PFN_vkCreateDevice CreateDevice; PFN_vkEnumerateDeviceExtensionProperties EnumerateDeviceExtensionProperties; PFN_vkEnumeratePhysicalDeviceGroups EnumeratePhysicalDeviceGroups; PFN_vkGetPhysicalDeviceProperties2 GetPhysicalDeviceProperties2; PFN_vkCreateDebugReportCallbackEXT CreateDebugReportCallbackEXT; PFN_vkDestroyDebugReportCallbackEXT DestroyDebugReportCallbackEXT; PFN_vkDebugReportMessageEXT DebugReportMessageEXT; Loading