Return false from Vulkan validation callback
authorMika Isojärvi <misojarvi@google.com>
Thu, 7 Apr 2016 20:36:12 +0000 (13:36 -0700)
committerMika Isojärvi <misojarvi@google.com>
Thu, 7 Apr 2016 22:03:52 +0000 (15:03 -0700)
Change-Id: I6441b0d4b856c66886390a3517288ecf7537d694

external/vulkancts/framework/vulkan/vkDebugReportUtil.cpp

index c2f6335..bb9cbd2 100644 (file)
@@ -120,7 +120,9 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugReportCallback (VkDebugReportFlagsEXT           flags
 
        messageList->append(DebugReportMessage(flags, objectType, object, location, messageCode, pLayerPrefix, pMessage));
 
-       return VK_TRUE;
+       // Return false to indicate that the call should not return error and should
+       // continue execution normally.
+       return VK_FALSE;
 }
 
 Move<VkDebugReportCallbackEXT> createCallback (const InstanceInterface&                                vki,