diff options
| author | Michael Lentine <mlentine@google.com> | 2016-03-24 21:36:53 -0500 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-03-25 08:10:42 -0600 |
| commit | 1d3962d5bfd392e62afa8fd18771a7e83cc6e175 (patch) | |
| tree | d80bdc97f319b09d3ec3679b1e666cf2f44a23b1 /layers/core_validation.cpp | |
| parent | 8a66391f7fc6cc1d04a2e64f7ab790bb5ef849db (diff) | |
| download | usermoji-1d3962d5bfd392e62afa8fd18771a7e83cc6e175.tar.xz | |
layers: Update layout mismatch message to provide more detail.
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)); } } } |
