loader: Fix unknown type
authorTobin Ehlis <tobine@google.com>
Wed, 31 Oct 2018 16:00:02 +0000 (10:00 -0600)
committerTobin Ehlis <tobine@google.com>
Wed, 31 Oct 2018 17:04:12 +0000 (11:04 -0600)
Set var to VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT instead of
VK_OBJECT_TYPE_UNKNOWN.

loader/debug_utils.c

index 58e3eec64ce3213a7df87d6c4bde070cf920bbe1..e41e1460dfc236f51050b05a5b5cf8e039b014db 100644 (file)
@@ -89,7 +89,7 @@ VkBool32 util_SubmitDebugUtilsMessageEXT(const struct loader_instance *inst, VkD
 
     if (NULL != pCallbackData) {
         VkLayerDbgFunctionNode *pTrav = inst->DbgFunctionHead;
-        VkDebugReportObjectTypeEXT object_type = VK_OBJECT_TYPE_UNKNOWN;
+        VkDebugReportObjectTypeEXT object_type = VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT;
         VkDebugReportFlagsEXT object_flags = 0;
         uint64_t object_handle = 0;