aboutsummaryrefslogtreecommitdiff
path: root/loader/table_ops.h
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-27 14:09:07 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-29 08:50:30 -0600
commit3883d8b7a85fd004a139a4ee92189ea73b8043fb (patch)
tree6a98dd52342f9e587c7343fbc1fce5c179fb09c3 /loader/table_ops.h
parent84180708e25e9f83448924c0f5d2933e1c3e865a (diff)
downloadusermoji-3883d8b7a85fd004a139a4ee92189ea73b8043fb.tar.xz
WSI: Initialize WSI entry points
Had missed initializing some WSI function pointers for the device dispatch table.
Diffstat (limited to 'loader/table_ops.h')
-rw-r--r--loader/table_ops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/table_ops.h b/loader/table_ops.h
index 5a2e615e..c33e1cb4 100644
--- a/loader/table_ops.h
+++ b/loader/table_ops.h
@@ -174,8 +174,10 @@ static inline void loader_init_device_dispatch_table(VkLayerDispatchTable *table
//TODO move into it's own table
//TODO also consider dropping trampoline code for these device level extensions entirely
// then don't need loader to know about these at all but then not queryable via GIPA
+ table->AcquireNextImageWSI = (PFN_vkAcquireNextImageWSI) gpa(dev, "vkAcquireNextImageWSI");
table->CreateSwapChainWSI = (PFN_vkCreateSwapChainWSI) gpa(dev, "vkCreateSwapChainWSI");
table->DestroySwapChainWSI = (PFN_vkDestroySwapChainWSI) gpa(dev, "vkDestroySwapChainWSI");
+ table->GetSurfaceInfoWSI = (PFN_vkGetSurfaceInfoWSI) gpa(dev, "vkGetSurfaceInfoWSI");
table->GetSwapChainInfoWSI = (PFN_vkGetSwapChainInfoWSI) gpa(dev, "vkGetSwapChainInfoWSI");
table->QueuePresentWSI = (PFN_vkQueuePresentWSI) gpa(dev, "vkQueuePresentWSI");
}