From c1ca1384751a7ef2770a8e4a5f835ad1ca423328 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 21 Jun 2019 12:44:56 -0700 Subject: [PATCH] panfrost: Allow up to 16 UBOs This is the hardware max, as far as I can tell. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index dccb014..15e68fb 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -319,7 +319,7 @@ panfrost_get_shader_param(struct pipe_screen *screen, return 16 * 1024 * sizeof(float); case PIPE_SHADER_CAP_MAX_CONST_BUFFERS: - return 4; + return 16; case PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED: return 0; -- 2.7.4