loader: Remove the device_info in the layer chain structure
authorJon Ashburn <jon@lunarg.com>
Tue, 29 Mar 2016 18:52:13 +0000 (12:52 -0600)
committerJon Ashburn <jon@lunarg.com>
Fri, 1 Apr 2016 16:47:25 +0000 (10:47 -0600)
commit59af5e5546006754a92b32ce31b112f9ae47f14e
tree73acdfcc571a991d314410e6323226dc13c7742f
parent4323e2705d5b34e377c7cbe6cb3faa4b78995097
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
loader/loader.c