From 843a6db6bb9408f49514dca2568d6bd5645a829a Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Thu, 19 Dec 2019 16:01:15 +0100 Subject: [PATCH] panfrost: Increase PIPE_SHADER_CAP_MAX_OUTPUTS to 16 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 --- src/gallium/drivers/panfrost/pan_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index ff71170524b..8c7672d3541 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -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 */ -- 2.30.2