From: Tomeu Vizoso Date: Thu, 19 Dec 2019 15:01:15 +0000 (+0100) Subject: panfrost: Increase PIPE_SHADER_CAP_MAX_OUTPUTS to 16 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=843a6db6bb9408f49514dca2568d6bd5645a829a;p=mesa.git 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 --- 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 */