From 1d9335f18426322551f89af4a2c848aff57212dc Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Thu, 14 Jan 2016 16:34:30 -0700 Subject: loader: Remove CreateInstance and CreateDevice The new init mechanism always uses GetInstanceProcAddr to query the next layer's CreateInstance or CreateDevice function. Thus no reason to cache those function pointers in the instance dispatch table. --- include/vulkan/vk_layer.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/vulkan') diff --git a/include/vulkan/vk_layer.h b/include/vulkan/vk_layer.h index da19dddb..b9c44290 100644 --- a/include/vulkan/vk_layer.h +++ b/include/vulkan/vk_layer.h @@ -156,9 +156,7 @@ typedef struct VkLayerDispatchTable_ typedef struct VkLayerInstanceDispatchTable_ { PFN_vkGetInstanceProcAddr GetInstanceProcAddr; - PFN_vkCreateInstance CreateInstance; PFN_vkDestroyInstance DestroyInstance; - PFN_vkCreateDevice CreateDevice; PFN_vkEnumeratePhysicalDevices EnumeratePhysicalDevices; PFN_vkGetPhysicalDeviceFeatures GetPhysicalDeviceFeatures; PFN_vkGetPhysicalDeviceImageFormatProperties GetPhysicalDeviceImageFormatProperties; -- cgit v1.2.3