mirror of
https://github.com/KhronosGroup/Vulkan-Headers.git
synced 2025-04-12 23:42:56 +00:00
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.
This commit is contained in:
parent
1d081fd08d
commit
e77fdadb24
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue