Skip to content

Names for objects in validation layer, take 2 #1695

@Jasper-Bekkers

Description

@Jasper-Bekkers

I've file this issue way back in 2017 in the other repository (KhronosGroup/Vulkan-LoaderAndValidationLayers#1880) but it looks like this still isn't addressed?

It looks like this may have gotten stuck on KhronosGroup/Vulkan-LoaderAndValidationLayers#2475 but it's a real shame, having to jump through hoops for years to get names on objects.

"Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00331 ] Object 0: handle = 0x767e510000000789, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID = 0xde8c9ed7 | vkUpdateDescriptorSets() failed write update validation for VkDescriptorSet 0x767e510000000789[] with error: Write update to VkDescriptorSet VkDescriptorSet 0x767e510000000789[] allocated with VkDescriptorSetLayout VkDescriptorSetLayout 0x8c7a9600000000f3[] binding #1 failed with error message: Attempted write update to buffer descriptor failed due to: Buffer (51B3510000000014) with usage mask 0x13 being used for a descriptor update of type VK_DESCRIPTOR_TYPE_STORAGE_BUFFER does not have VK_BUFFER_USAGE_STORAGE_BUFFER_BIT set.. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_STORAGE_BUFFER or VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC, the buffer member of each element of pBufferInfo must have been created with VK_BUFFER_USAGE_STORAGE_BUFFER_BIT set (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-00331)"

I've named the buffer appropriately though the debug_utils extension yet it still shows up as some hex number here.

@mark-lunarg

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions