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
*/
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_ {
VkLayerFunction function;
union {
VkLayerDeviceLink *pLayerInfo;
- VkLayerDeviceInfo deviceInfo;
} u;
} VkLayerDeviceCreateInfo;
-// ------------------------------------------------------------------------------------------------
-// API functions