diff options
| author | Courtney Goeltzenleuchter <courtneygo@google.com> | 2016-01-14 16:34:30 -0700 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2016-01-20 18:05:24 -0700 |
| commit | 1d9335f18426322551f89af4a2c848aff57212dc (patch) | |
| tree | 6a0e0c8360797ddc95a4c3f00e9cc9400e4b34f8 /include | |
| parent | fe93a83b1dc00a76357502bfb32c375a468b92cd (diff) | |
| download | usermoji-1d9335f18426322551f89af4a2c848aff57212dc.tar.xz | |
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.
Diffstat (limited to 'include')
| -rw-r--r-- | include/vulkan/vk_layer.h | 2 |
1 files changed, 0 insertions, 2 deletions
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; |
