summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-07-14 15:12:33 +0100
committerBrian Paul <[email protected]>2011-09-22 08:26:40 -0600
commita5c0fb51c6b1d5f7e6ea8f089da921719ad1b6c4 (patch)
treef45ab5d25a056e8467fa14e0be6f5286844882e9 /src
parent3c56280d330f50025fc948041f1413af55c50581 (diff)
draw: Reduce the number of vertex shader variants per context to 128.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/draw/draw_private.h2
1 files changed, 1 insertions, 1 deletions
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.