From b7cb4d4f6f91a74ba087124c6688d8e6217d1e22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 5 Jun 2022 21:13:20 -0400 Subject: [PATCH] radeonsi: set the max UBO size same as the max SSBO size Reviewed-by: Mihai Preda Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/drivers/radeonsi/si_get.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index 0efb817191c..266e13a3eaa 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -252,6 +252,7 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return max_texels; } + case PIPE_CAP_MAX_CONSTANT_BUFFER_SIZE_UINT: case PIPE_CAP_MAX_SHADER_BUFFER_SIZE_UINT: { /* Return 1/4th of the heap size as the maximum because the max size is not practically * allocatable. Also, this can only return UINT32_MAX at most.