From: Michael Lentine Date: Fri, 25 Mar 2016 02:36:53 +0000 (-0500) Subject: layers: Update layout mismatch message to provide more detail. X-Git-Tag: upstream/1.1.92~3508 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d3962d5bfd392e62afa8fd18771a7e83cc6e175;p=platform%2Fupstream%2FVulkan-Tools.git layers: Update layout mismatch message to provide more detail. --- diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 7d81032..6b463d9 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -9498,8 +9498,9 @@ VkBool32 VerifyFramebufferAndRenderPassLayouts(VkCommandBuffer cmdBuffer, const log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0, __LINE__, DRAWSTATE_INVALID_RENDERPASS, "DS", "You cannot start a render pass using attachment %i " "where the " - "intial layout differs from the starting layout.", - i); + "intial layout is %s and the layout of the attachment at the " + "start of the render pass is %s. The layouts must match.", + i, string_VkImageLayout(newNode.layout), string_VkImageLayout(node.layout)); } } }