From b00b447902798cafa5d3758aa9c34a839c4fca82 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mika=20Isoj=C3=A4rvi?= Date: Thu, 7 Apr 2016 13:36:12 -0700 Subject: [PATCH] Return false from Vulkan validation callback Change-Id: I6441b0d4b856c66886390a3517288ecf7537d694 --- external/vulkancts/framework/vulkan/vkDebugReportUtil.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/external/vulkancts/framework/vulkan/vkDebugReportUtil.cpp b/external/vulkancts/framework/vulkan/vkDebugReportUtil.cpp index c2f6335..bb9cbd2 100644 --- a/external/vulkancts/framework/vulkan/vkDebugReportUtil.cpp +++ b/external/vulkancts/framework/vulkan/vkDebugReportUtil.cpp @@ -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 createCallback (const InstanceInterface& vki, -- 2.7.4