mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 06:20:09 +01:00
v3dv: fix limits for inline uniform blocks
We don't support 'Update After Bind', however, the limits for this model also include the ones without it. See the with or without remark in the spec below: "maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks is similar to maxPerStageDescriptorInlineUniformBlocks but counts descriptor bindings from descriptor sets created with or without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set." Fixes: dEQP-VK.api.info.vulkan1p2_limits_validation.ext_inline_uniform_block Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15732>
This commit is contained in:
parent
51ab4ef4be
commit
827ef5fba9
1 changed files with 4 additions and 2 deletions
|
|
@ -1608,8 +1608,10 @@ v3dv_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
|
|||
MAX_INLINE_UNIFORM_BUFFERS;
|
||||
props->maxDescriptorSetInlineUniformBlocks =
|
||||
MAX_INLINE_UNIFORM_BUFFERS;
|
||||
props->maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = 0;
|
||||
props->maxDescriptorSetUpdateAfterBindInlineUniformBlocks = 0;
|
||||
props->maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks =
|
||||
MAX_INLINE_UNIFORM_BUFFERS;
|
||||
props->maxDescriptorSetUpdateAfterBindInlineUniformBlocks =
|
||||
MAX_INLINE_UNIFORM_BUFFERS;
|
||||
break;
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue