Mesa (master): panfrost: Allow up to 16 UBOs

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 24 20:00:13 UTC 2019


Module: Mesa
Branch: master
Commit: c1ca1384751a7ef2770a8e4a5f835ad1ca423328
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1ca1384751a7ef2770a8e4a5f835ad1ca423328

Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Jun 21 12:44:56 2019 -0700

panfrost: Allow up to 16 UBOs

This is the hardware max, as far as I can tell.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>

---

 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 dccb0143a53..15e68fbe2c1 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;




More information about the mesa-commit mailing list