summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-06-21 12:44:56 -0700
committerAlyssa Rosenzweig <[email protected]>2019-06-24 12:57:40 -0700
commitc1ca1384751a7ef2770a8e4a5f835ad1ca423328 (patch)
tree30d611b4b529cc1c9b26cfe8f74b9375f6bfe6ad /src
parentb670becb1ea00a8aafd30b56521e9e93b10c0e85 (diff)
panfrost: Allow up to 16 UBOs
This is the hardware max, as far as I can tell. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.c2
1 files changed, 1 insertions, 1 deletions
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;