panfrost: Enable indirect uniform indexing

It works fine, and without it, the lowering bloats GLES2 shaders (by a
factor of 20x for one shader on t-rex!)

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7615>
This commit is contained in:
Alyssa Rosenzweig 2020-11-24 13:57:12 -05:00 committed by Marge Bot
parent 33a7645542
commit 028de3beaf
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ panfrost_get_shader_param(struct pipe_screen *screen,
return 0;
case PIPE_SHADER_CAP_INDIRECT_CONST_ADDR:
return (is_bifrost && !is_deqp) ? 0 : 1;
return 1;
case PIPE_SHADER_CAP_SUBROUTINES:
return 0;