MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / PrintMessage

Method PrintMessage

layers/state_tracker/descriptor_sets.cpp:1663–1673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1661}
1662
1663std::string vvl::DslErrorSource::PrintMessage(const Logger& error_logger) const {
1664 std::ostringstream msg;
1665 msg << "The VkDescriptorSetLayout was used to ";
1666 if (pipeline_layout_handle_ == VK_NULL_HANDLE) {
1667 msg << "allocate " << error_logger.FormatHandle(ds_handle_);
1668 } else {
1669 msg << "create " << error_logger.FormatHandle(pipeline_layout_handle_) << " at pSetLayouts[" << set_ << "]";
1670 }
1671 msg << "";
1672 return msg.str();
1673}
1674void vvl::TensorDescriptor::WriteUpdate(DescriptorSet& set_state, const DeviceState& dev_data, const VkWriteDescriptorSet& update,
1675 const uint32_t index, bool is_bindless) {
1676 const auto tensor_info = reinterpret_cast<const VkWriteDescriptorSetTensorARM*>(update.pNext);

Callers 1

ValidateWriteUpdateMethod · 0.80

Calls 1

FormatHandleMethod · 0.45

Tested by

no test coverage detected