https://bugs.freedesktop.org/show_bug.cgi?id=111019
Bug ID: 111019
Summary: radv doesn't handle variable descriptor count properly
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Vulkan/radeon
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Created attachment 144676
--> https://bugs.freedesktop.org/attachment.cgi?id=144676&action=edit
Minimal reproducer
When a descriptor set layout is created with
VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT, descriptorCount in
VkDescriptorSetLayoutBinding should be treated as an upper bound. The actual
descriptor count is provided in
VkDescriptorSetVariableDescriptorCountAllocateInfoEXT when
vkAllocateDescriptorSets() is called. radv uses the upper limit from
VkDescriptorSetLayoutBinding as descriptor count and fails to allocate
descriptor sets with VK_ERROR_OUT_OF_POOL_MEMORY.
The attached program reproduces the bug.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug._______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev