panfrost: Increase SSBO/image limit from 4->8
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 26 Feb 2020 18:37:10 +0000 (13:37 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 27 Feb 2020 21:02:35 +0000 (21:02 +0000)
Fixes an error compiling some shaders.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3978>

src/gallium/drivers/panfrost/pan_screen.c

index c9e0605bc358c6143f9339de0ee8eb0e93b3bb56..265602b86c23e81619a519594f742d119befb852 100644 (file)
@@ -358,7 +358,7 @@ panfrost_get_shader_param(struct pipe_screen *screen,
 
         case PIPE_SHADER_CAP_MAX_SHADER_BUFFERS:
         case PIPE_SHADER_CAP_MAX_SHADER_IMAGES:
-                return is_deqp ? 4 : 0;
+                return is_deqp ? 8 : 0;
         case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTERS:
         case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTER_BUFFERS:
                 return 0;