Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c838b08d authored by Jesse Hall's avatar Jesse Hall
Browse files

libvulkan: Add missing instance entry point dispatch init

Change-Id: Ib7db123ce91b0f488230988d66e6b627f0ac8645
(cherry picked from commit c00a23cb61f64a7c82cfab2b2c19ab15b5805348)
parent 3fec89ea
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -908,10 +908,12 @@ GetInstanceProcAddrBottom(VkInstance, const char*);
const InstanceVtbl kBottomInstanceFunctions = {
    // clang-format off
    .instance = nullptr,

    .CreateInstance = CreateInstanceBottom,
    .DestroyInstance = DestroyInstanceBottom,
    .GetInstanceProcAddr = GetInstanceProcAddrBottom,
    .EnumeratePhysicalDevices = EnumeratePhysicalDevicesBottom,

    .GetPhysicalDeviceFeatures = GetPhysicalDeviceFeaturesBottom,
    .GetPhysicalDeviceFormatProperties = GetPhysicalDeviceFormatPropertiesBottom,
    .GetPhysicalDeviceImageFormatProperties = GetPhysicalDeviceImageFormatPropertiesBottom,
@@ -922,10 +924,13 @@ const InstanceVtbl kBottomInstanceFunctions = {
    .EnumerateDeviceExtensionProperties = EnumerateDeviceExtensionPropertiesBottom,
    .EnumerateDeviceLayerProperties = EnumerateDeviceLayerPropertiesBottom,
    .GetPhysicalDeviceSparseImageFormatProperties = GetPhysicalDeviceSparseImageFormatPropertiesBottom,
    .GetPhysicalDeviceSurfaceSupportKHR = GetPhysicalDeviceSurfaceSupportKHR,

    .GetPhysicalDeviceSurfaceCapabilitiesKHR = GetPhysicalDeviceSurfaceCapabilitiesKHR,
    .GetPhysicalDeviceSurfaceFormatsKHR = GetPhysicalDeviceSurfaceFormatsKHR,
    .GetPhysicalDeviceSurfacePresentModesKHR = GetPhysicalDeviceSurfacePresentModesKHR,
    .CreateAndroidSurfaceKHR = CreateAndroidSurfaceKHR,
    .DestroySurfaceKHR = DestroySurfaceKHR,
    .GetPhysicalDeviceSurfaceSupportKHR = GetPhysicalDeviceSurfaceSupportKHR,
    // clang-format on
};

+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ struct InstanceVtbl {
    PFN_vkEnumerateDeviceLayerProperties EnumerateDeviceLayerProperties;
    PFN_vkGetPhysicalDeviceSparseImageFormatProperties GetPhysicalDeviceSparseImageFormatProperties;

    // Layers and loader only, not implemented by drivers
    // Loader and layers only, not implemented by drivers
    PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR GetPhysicalDeviceSurfaceCapabilitiesKHR;
    PFN_vkGetPhysicalDeviceSurfaceFormatsKHR GetPhysicalDeviceSurfaceFormatsKHR;
    PFN_vkGetPhysicalDeviceSurfacePresentModesKHR GetPhysicalDeviceSurfacePresentModesKHR;