From: Eric Anholt Date: Fri, 8 Jun 2018 15:00:31 +0000 (-0700) Subject: v3d: Use our #define for max attributes in shader caps. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4564537222f7d4624327440aa6f56e289183d3b8;p=mesa.git v3d: Use our #define for max attributes in shader caps. --- diff --git a/src/gallium/drivers/v3d/v3d_screen.c b/src/gallium/drivers/v3d/v3d_screen.c index d578265eef0..80b8156a73e 100644 --- a/src/gallium/drivers/v3d/v3d_screen.c +++ b/src/gallium/drivers/v3d/v3d_screen.c @@ -376,7 +376,7 @@ v3d_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, if (shader == PIPE_SHADER_FRAGMENT) return VC5_MAX_FS_INPUTS / 4; else - return 16; + return VC5_MAX_ATTRIBUTES; case PIPE_SHADER_CAP_MAX_OUTPUTS: if (shader == PIPE_SHADER_FRAGMENT) return 4;