Module: Mesa Branch: main Commit: eb7a46ed3d5092cf2d22411fc4da1b0d21e972a5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb7a46ed3d5092cf2d22411fc4da1b0d21e972a5
Author: Iago Toral Quiroga <ito...@igalia.com> Date: Thu Sep 7 09:30:29 2023 +0200 v3dv: bump up MAX_UNIFORM_BUFFERS to 16 We currently expose 12 but that becomes 11 when running on Zink since Mesa's state tracker is aware that the first one is reserved for its own constant buffer, and the minimum number of UBOs required by GL is 12, so Zink won't be able to expose UBO support. Bump it up to 16 to meet Zink requirements, which is what we offer on V3D. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9764 Reviewed-by: Alejandro PiƱeiro <apinhe...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25093> --- src/broadcom/vulkan/v3dv_limits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/broadcom/vulkan/v3dv_limits.h b/src/broadcom/vulkan/v3dv_limits.h index 9cda9f0d6d2..60b3ab2eafe 100644 --- a/src/broadcom/vulkan/v3dv_limits.h +++ b/src/broadcom/vulkan/v3dv_limits.h @@ -41,7 +41,7 @@ #define MAX_STORAGE_IMAGES 4 #define MAX_INPUT_ATTACHMENTS 4 -#define MAX_UNIFORM_BUFFERS 12 +#define MAX_UNIFORM_BUFFERS 16 #define MAX_INLINE_UNIFORM_BUFFERS 4 #define MAX_STORAGE_BUFFERS 8