radv: limit maxIndirectCommandsTokenCount to 512
512 is already large enough but UIN32_MAX is definitely too large. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27466>
This commit is contained in:

committed by
Marge Bot

parent
0a44f6319e
commit
d15a43c9a9
@@ -1699,7 +1699,7 @@ radv_get_physical_device_properties(struct radv_physical_device *pdevice)
|
||||
/* VK_NV_device_generated_commands */
|
||||
p->maxIndirectCommandsStreamCount = 1;
|
||||
p->maxIndirectCommandsStreamStride = UINT32_MAX;
|
||||
p->maxIndirectCommandsTokenCount = UINT32_MAX;
|
||||
p->maxIndirectCommandsTokenCount = 512;
|
||||
p->maxIndirectCommandsTokenOffset = UINT16_MAX;
|
||||
p->minIndirectCommandsBufferOffsetAlignment = 4;
|
||||
p->minSequencesCountBufferOffsetAlignment = 4;
|
||||
|
Reference in New Issue
Block a user