| 128 | } |
| 129 | |
| 130 | std::string ErrorMessages::ImageClearError(const HazardResult& hazard, const CommandBufferAccessContext& cb_context, |
| 131 | vvl::Func command, const std::string& resource_description, |
| 132 | uint32_t subresource_range_index, |
| 133 | const VkImageSubresourceRange& subresource_range) const { |
| 134 | std::ostringstream ss; |
| 135 | ss << "\nImage clear subresource range " << subresource_range_index << ": {\n"; |
| 136 | ss << " " << string_VkImageSubresourceRange(subresource_range) << "\n"; |
| 137 | ss << "}\n"; |
| 138 | |
| 139 | AdditionalMessageInfo additional_info; |
| 140 | additional_info.message_end_text = ss.str(); |
| 141 | additional_info.properties.Add(kPropertyRegionIndex, subresource_range_index); |
| 142 | |
| 143 | return Error(hazard, cb_context, command, resource_description, "ImageSubresourceRangeError", additional_info); |
| 144 | } |
| 145 | |
| 146 | static void PrepareCommonDescriptorMessage(Logger& logger, const vvl::Pipeline& pipeline, uint32_t descriptor_set_number, |
| 147 | const vvl::DescriptorSet& descriptor_set, VkDescriptorType descriptor_type, |
no test coverage detected