loader: Need to use ICD's GetDeviceProcAddr
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Mon, 29 Jun 2015 22:09:23 +0000 (16:09 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Mon, 29 Jun 2015 22:09:23 +0000 (16:09 -0600)
commite93e3160e068cdeddf95f3bd001d185abe7e7953
tree1c4a641f7cbf53b1387fcb6851cab8fd714cebea
parentd5490f20cfdf2703493b3c1ef32dfe0462983cb3
loader: Need to use ICD's GetDeviceProcAddr

The loader_GetDeviceProcAddr is the terminator
for the CreateDevice chain. It needs to call the ICD's
GetDeviceProcAddr to get the correct function pointer
not the object's current dispatch table that points
at the beginning of the chain.
Saw issue when running cube with only DRAW_STATE layer
enabled.
loader/loader.c