From: Mika Isojärvi Date: Thu, 7 Apr 2016 20:36:12 +0000 (-0700) Subject: Return false from Vulkan validation callback X-Git-Tag: upstream/0.1.0~671^2~78^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b00b447902798cafa5d3758aa9c34a839c4fca82;p=platform%2Fupstream%2FVK-GL-CTS.git Return false from Vulkan validation callback Change-Id: I6441b0d4b856c66886390a3517288ecf7537d694 --- 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,