aboutsummaryrefslogtreecommitdiff
path: root/include/vulkan
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2016-03-29 12:52:13 -0600
committerJon Ashburn <jon@lunarg.com>2016-04-01 10:47:25 -0600
commit59af5e5546006754a92b32ce31b112f9ae47f14e (patch)
tree73acdfcc571a991d314410e6323226dc13c7742f /include/vulkan
parent4323e2705d5b34e377c7cbe6cb3faa4b78995097 (diff)
downloadusermoji-59af5e5546006754a92b32ce31b112f9ae47f14e.tar.xz
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/vulkan')
-rw-r--r--include/vulkan/vk_layer.h6
1 files changed, 1 insertions, 5 deletions
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