From 59af5e5546006754a92b32ce31b112f9ae47f14e Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Tue, 29 Mar 2016 12:52:13 -0600 Subject: loader: Remove the device_info in the layer chain structure Simplifies code, the loader device structure is passed down from trampoline code to terminator code via the pDevice parameter. It doesn't need to be added to this pCreatInfo pNext list structure. Layers which modifiy pDevice whould do it on the way up the chain not going down the chain. Change-Id: Ibf7e4ffdc1a36f52b1a99389dcab25d572655aec --- include/vulkan/vk_layer.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/vulkan') diff --git a/include/vulkan/vk_layer.h b/include/vulkan/vk_layer.h index 8538eecc..e99e8134 100644 --- a/include/vulkan/vk_layer.h +++ b/include/vulkan/vk_layer.h @@ -268,8 +268,7 @@ typedef enum VkLayerDbgAction_ { */ typedef enum VkLayerFunction_ { VK_LAYER_LINK_INFO = 0, - VK_LAYER_DEVICE_INFO = 1, - VK_LOADER_DISPATCH_CALLBACK = 2 + VK_LOADER_DISPATCH_CALLBACK = 1 } VkLayerFunction; typedef struct VkLayerInstanceLink_ { @@ -314,9 +313,6 @@ typedef struct { VkLayerFunction function; union { VkLayerDeviceLink *pLayerInfo; - VkLayerDeviceInfo deviceInfo; } u; } VkLayerDeviceCreateInfo; -// ------------------------------------------------------------------------------------------------ -// API functions -- cgit v1.2.3