v3dv/device: set value for maxInlineUniformTotalSize
Fixes the following test, as far as you enable Vulkan 1.3 (if not it is skipped): dEQP-VK.api.info.vulkan1p3_limits_validation.max_inline_uniform_total_size Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29476>
This commit is contained in:
committed by
Marge Bot
parent
132c5cdeb9
commit
781622ba5b
@@ -1123,9 +1123,11 @@ get_device_properties(const struct v3dv_physical_device *device,
|
||||
VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_4_BIT,
|
||||
|
||||
/* Vulkan 1.3 properties */
|
||||
.maxInlineUniformBlockSize = 4096,
|
||||
.maxInlineUniformBlockSize = MAX_INLINE_UNIFORM_BLOCK_SIZE,
|
||||
.maxPerStageDescriptorInlineUniformBlocks = MAX_INLINE_UNIFORM_BUFFERS,
|
||||
.maxDescriptorSetInlineUniformBlocks = MAX_INLINE_UNIFORM_BUFFERS,
|
||||
.maxInlineUniformTotalSize =
|
||||
MAX_INLINE_UNIFORM_BUFFERS * MAX_INLINE_UNIFORM_BLOCK_SIZE,
|
||||
.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks =
|
||||
MAX_INLINE_UNIFORM_BUFFERS,
|
||||
.maxDescriptorSetUpdateAfterBindInlineUniformBlocks =
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
|
||||
#define MAX_UNIFORM_BUFFERS 16
|
||||
#define MAX_INLINE_UNIFORM_BUFFERS 4
|
||||
#define MAX_INLINE_UNIFORM_BLOCK_SIZE 4096
|
||||
#define MAX_STORAGE_BUFFERS 8
|
||||
|
||||
#define MAX_DYNAMIC_UNIFORM_BUFFERS 8
|
||||
|
||||
Reference in New Issue
Block a user