From: José Fonseca Date: Wed, 14 Jul 2010 14:12:33 +0000 (+0100) Subject: draw: Reduce the number of vertex shader variants per context to 128. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5c0fb51c6b1d5f7e6ea8f089da921719ad1b6c4;p=mesa.git draw: Reduce the number of vertex shader variants per context to 128. --- diff --git a/src/gallium/auxiliary/draw/draw_private.h b/src/gallium/auxiliary/draw/draw_private.h index b7d693f8584..594ef440092 100644 --- a/src/gallium/auxiliary/draw/draw_private.h +++ b/src/gallium/auxiliary/draw/draw_private.h @@ -83,7 +83,7 @@ struct vertex_header { /* maximum number of shader variants we can cache */ -#define DRAW_MAX_SHADER_VARIANTS 1024 +#define DRAW_MAX_SHADER_VARIANTS 128 /** * Private context for the drawing module.