[Mesa-dev] [Bug 111019] radv doesn't handle variable descriptor count properly
https://bugs.freedesktop.org/show_bug.cgi?id=111019 Bas Nieuwenhuizen changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #5 from Bas Nieuwenhuizen --- Fixed in https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1484 -- 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 mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 111019] radv doesn't handle variable descriptor count properly
https://bugs.freedesktop.org/show_bug.cgi?id=111019 --- Comment #4 from Józef Kucia --- It seems that layout->buffer_count is incorrectly used for VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT. layout->buffer_count is based on the upper limit taken from descriptor set layout. -- 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 mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 111019] radv doesn't handle variable descriptor count properly
https://bugs.freedesktop.org/show_bug.cgi?id=111019 Józef Kucia changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- -- 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 mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 111019] radv doesn't handle variable descriptor count properly
https://bugs.freedesktop.org/show_bug.cgi?id=111019 --- Comment #3 from Józef Kucia --- Created attachment 144908 --> https://bugs.freedesktop.org/attachment.cgi?id=144908=edit Minimal reproducer 2 With the fix it works for samplers now. Unfortunately, it still doesn't work for other descriptor types. I'm attaching a slightly modified program to reproduce 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 mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 111019] radv doesn't handle variable descriptor count properly
https://bugs.freedesktop.org/show_bug.cgi?id=111019 Bas Nieuwenhuizen changed: What|Removed |Added Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from Bas Nieuwenhuizen --- The MR above landed. I'm marking as fixed, but please reopen if there are still issues. Thanks! -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 111019] radv doesn't handle variable descriptor count properly
https://bugs.freedesktop.org/show_bug.cgi?id=111019 --- Comment #1 from Bas Nieuwenhuizen --- Forgot a hunk somehow apparently ... https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1205 should fix this. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 111019] radv doesn't handle variable descriptor count properly
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@lists.freedesktop.org Reporter: joseph.ku...@gmail.com QA Contact: mesa-dev@lists.freedesktop.org Created attachment 144676 --> https://bugs.freedesktop.org/attachment.cgi?id=144676=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 mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev