mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 02:30:18 +01:00
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:
parent
33a7645542
commit
028de3beaf
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue