panfrost: Increase PIPE_SHADER_CAP_MAX_OUTPUTS to 16
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 19 Dec 2019 15:01:15 +0000 (16:01 +0100)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 25 Dec 2019 00:21:52 +0000 (19:21 -0500)
GL ES 3.0 requires it to be higher, and stuff seems to work just fine.

Fixes: dEQP-GLES3.functional.implementation_limits.max_vertex_output_components
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
src/gallium/drivers/panfrost/pan_screen.c

index ff71170524b7fd909ef13c9c27c24517700fad20..8c7672d3541775e4792f4be13b9310632124ae12 100644 (file)
@@ -282,7 +282,7 @@ panfrost_get_shader_param(struct pipe_screen *screen,
                 return 16;
 
         case PIPE_SHADER_CAP_MAX_OUTPUTS:
-                return shader == PIPE_SHADER_FRAGMENT ? 4 : 8;
+                return shader == PIPE_SHADER_FRAGMENT ? 4 : 16;
 
         case PIPE_SHADER_CAP_MAX_TEMPS:
                 return 256; /* GL_MAX_PROGRAM_TEMPORARIES_ARB */