diff options
author | Jon Ashburn <[email protected]> | 2016-03-29 12:52:13 -0600 |
---|---|---|
committer | Mark Lobodzinski <[email protected]> | 2018-05-04 09:24:24 -0600 |
commit | f54813d16e39a4d9766bc29a7ababf18b35098e3 (patch) | |
tree | 3bb35f6b497d88e1a5eb6086747bea39ee0dc0d7 /include | |
parent | c51485f24a66f83f299615cf81f2f7d7c68210ea (diff) | |
download | Vulkan-Headers-f54813d16e39a4d9766bc29a7ababf18b35098e3.tar.gz Vulkan-Headers-f54813d16e39a4d9766bc29a7ababf18b35098e3.zip |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/vulkan/vk_layer.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/vulkan/vk_layer.h b/include/vulkan/vk_layer.h index 8538eec..e99e813 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 |