aboutsummaryrefslogtreecommitdiff
path: root/layers/param_checker.cpp
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtneygo@google.com>2015-12-01 14:10:55 -0700
committerJon Ashburn <jon@lunarg.com>2015-12-17 11:20:06 -0700
commit92fb5f46d48234276f40cb1c4c22f24dbf391009 (patch)
tree97df204685da8dd5a47a0d80e4ceb96021a38d30 /layers/param_checker.cpp
parentf5970c76038ae09ef457ecf8a239c50e86cd789e (diff)
downloadusermoji-92fb5f46d48234276f40cb1c4c22f24dbf391009.tar.xz
layers: Add support for DebugReportMessageLUNARG
Diffstat (limited to 'layers/param_checker.cpp')
-rw-r--r--layers/param_checker.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp
index 6f023753..372f46ab 100644
--- a/layers/param_checker.cpp
+++ b/layers/param_checker.cpp
@@ -150,6 +150,20 @@ VK_LAYER_EXPORT VKAPI_ATTR void VKAPI_CALL vkDestroyDebugReportCallbackLUNARG(
layer_destroy_msg_callback(data->report_data, msgCallback, pAllocator);
}
+VK_LAYER_EXPORT VKAPI_ATTR void VKAPI_CALL vkDebugReportMessageLUNARG(
+ VkInstance instance,
+ VkDebugReportFlagsLUNARG flags,
+ VkDebugReportObjectTypeLUNARG objType,
+ uint64_t object,
+ size_t location,
+ int32_t msgCode,
+ const char* pLayerPrefix,
+ const char* pMsg)
+{
+ VkLayerInstanceDispatchTable *pTable = get_dispatch_table(pc_instance_table_map, instance);
+ pTable->DebugReportMessageLUNARG(instance, flags, objType, object, location, msgCode, pLayerPrefix, pMsg);
+}
+
static const VkExtensionProperties instance_extensions[] = {
{
VK_EXT_LUNARG_DEBUG_REPORT_EXTENSION_NAME,