From fdf3457dc9aad3570d466389dc4d1a57338c68bb Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Fri, 29 Apr 2016 07:32:31 -0600 Subject: layers: Clarify error message for pipelineLayout incompatible --- layers/core_validation.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'layers/core_validation.cpp') diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index abbfcc54..f938326e 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -6971,11 +6971,11 @@ vkCmdBindDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipel // Verify that set being bound is compatible with overlapping setLayout of pipelineLayout if (!verify_set_layout_compatibility(dev_data, pSet, layout, i + firstSet, errorString)) { skipCall |= log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, - VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT, (uint64_t)pDescriptorSets[i], - __LINE__, DRAWSTATE_PIPELINE_LAYOUTS_INCOMPATIBLE, "DS", - "descriptorSet #%u being bound is not compatible with overlapping layout in " - "pipelineLayout due to: %s", - i, errorString.c_str()); + VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT, (uint64_t)pDescriptorSets[i], __LINE__, + DRAWSTATE_PIPELINE_LAYOUTS_INCOMPATIBLE, "DS", + "descriptorSet #%u being bound is not compatible with overlapping descriptorSetLayout " + "at index %u of pipelineLayout %#" PRIxLEAST64 " due to: %s", + i, i + firstSet, reinterpret_cast(layout), errorString.c_str()); } if (pSet->p_layout->GetDynamicDescriptorCount()) { // First make sure we won't overstep bounds of pDynamicOffsets array -- cgit v1.2.3