[Mesa-dev] [Bug 111019] radv doesn't handle variable descriptor count properly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 28 17:06:42 UTC 2019


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: mesa-dev at lists.freedesktop.org
          Reporter: joseph.kucia at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190628/7fbcf207/attachment-0001.html>


More information about the mesa-dev mailing list