diff options
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 7d81032c..6b463d96 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)); } } } |
