diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-06-21 12:44:56 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-06-24 12:57:40 -0700 |
commit | c1ca1384751a7ef2770a8e4a5f835ad1ca423328 (patch) | |
tree | 30d611b4b529cc1c9b26cfe8f74b9375f6bfe6ad /src/gallium | |
parent | b670becb1ea00a8aafd30b56521e9e93b10c0e85 (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/gallium')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.c | 2 |
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; |