diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-04-29 07:32:31 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-04-29 07:32:31 -0600 |
| commit | fdf3457dc9aad3570d466389dc4d1a57338c68bb (patch) | |
| tree | 481c6d16a57ebe863a026bdbe4e458b36b2689ed /layers/core_validation.cpp | |
| parent | 69d0d7f5fcfca65fc27a185e6376d7b925afcb85 (diff) | |
| download | usermoji-fdf3457dc9aad3570d466389dc4d1a57338c68bb.tar.xz | |
layers: Clarify error message for pipelineLayout incompatible
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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<uint64_t &>(layout), errorString.c_str()); } if (pSet->p_layout->GetDynamicDescriptorCount()) { // First make sure we won't overstep bounds of pDynamicOffsets array |
