Revert "Don't query vkCreateSwapchainKHR with GIPA"
authorCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Tue, 25 Oct 2022 20:41:30 +0000 (14:41 -0600)
committerJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>
Tue, 25 Oct 2022 21:00:13 +0000 (15:00 -0600)
This reverts commit af67fccebe59e8d8e30e8c02b7b0069ce4242fc4.

loader/generated/vk_loader_extensions.c
scripts/loader_extension_generator.py

index 5cdd3076d3263f313778b5a25c0d419043a2ee1e..4960ab81650d8440983b5c536389f8b189cec474 100644 (file)
@@ -98,6 +98,8 @@ VKAPI_ATTR bool VKAPI_CALL loader_icd_init_entries(struct loader_icd_term *icd_t
     LOOKUP_GIPA(GetPhysicalDeviceSurfacePresentModesKHR, false);
 
     // ---- VK_KHR_swapchain extension commands
+    LOOKUP_GIPA(CreateSwapchainKHR, false);
+    LOOKUP_GIPA(GetDeviceGroupSurfacePresentModesKHR, false);
     LOOKUP_GIPA(GetPhysicalDevicePresentRectanglesKHR, false);
 
     // ---- VK_KHR_display extension commands
index eb8a0ff9fe47646f3e563f97b8e26e5813185162..cee011f2531713c2339aff8e602309f1fd98caa4 100644 (file)
@@ -658,8 +658,6 @@ class LoaderExtensionOutputGenerator(OutputGenerator):
                               'vkEnumerateInstanceExtensionProperties',
                               'vkEnumerateInstanceLayerProperties',
                               'vkEnumerateInstanceVersion',
-                              'vkCreateSwapchainKHR',
-                              'vkGetDeviceGroupSurfacePresentModesKHR',
                              ]
 
         for x in range(0, 2):
@@ -920,7 +918,7 @@ class LoaderExtensionOutputGenerator(OutputGenerator):
         return tables
 
     #
-    # Create the appropriate trampoline (and possibly terminator) functions
+    # Create the appropriate trampoline (and possibly terminator) functinos
     def CreateTrampTermFuncs(self):
         entries = []
         funcs = ''