aboutsummaryrefslogtreecommitdiff
path: root/loader/table_ops.h
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-17 20:51:59 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-18 10:18:18 -0600
commit06a204948df4bfc65f34d341fcfbd9ef57bddac2 (patch)
tree2a7a864d3cb6c877aca8fbe703ee9d7b075c991c /loader/table_ops.h
parent0d67c29d5d2a2f3383e11279a091a1f164f8eb95 (diff)
downloadusermoji-06a204948df4bfc65f34d341fcfbd9ef57bddac2.tar.xz
loader: Add support for debug report
Diffstat (limited to 'loader/table_ops.h')
-rw-r--r--loader/table_ops.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/loader/table_ops.h b/loader/table_ops.h
index 93131b18..e4c39f2e 100644
--- a/loader/table_ops.h
+++ b/loader/table_ops.h
@@ -387,7 +387,13 @@ static inline void loader_init_instance_core_dispatch_table(VkLayerInstanceDispa
table->GetPhysicalDeviceExtensionInfo = (PFN_vkGetPhysicalDeviceExtensionInfo) gpa(inst, "vkGetPhysicalDeviceExtensionInfo");
table->GetMultiDeviceCompatibility = (PFN_vkGetMultiDeviceCompatibility) gpa(inst, "vkGetMultiDeviceCompatibility");
table->GetDisplayInfoWSI = (PFN_vkGetDisplayInfoWSI) gpa(inst, "vkGetDisplayInfoWSI");
+}
+static inline void loader_init_instance_extension_dispatch_table(
+ VkLayerInstanceDispatchTable *table,
+ PFN_vkGetInstanceProcAddr gpa,
+ VkInstance inst)
+{
table->DbgCreateMsgCallback = (PFN_vkDbgCreateMsgCallback) gpa(inst, "vkDbgCreateMsgCallback");
table->DbgDestroyMsgCallback = (PFN_vkDbgDestroyMsgCallback) gpa(inst, "vkDbgDestroyMsgCallback");
}