Mesa (master): draw: Reduce the number of vertex shader variants per context to 128.

Brian Paul brianp at kemper.freedesktop.org
Thu Sep 22 14:45:12 UTC 2011


Module: Mesa
Branch: master
Commit: a5c0fb51c6b1d5f7e6ea8f089da921719ad1b6c4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5c0fb51c6b1d5f7e6ea8f089da921719ad1b6c4

Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Jul 14 15:12:33 2010 +0100

draw: Reduce the number of vertex shader variants per context to 128.

---

 src/gallium/auxiliary/draw/draw_private.h |    2 +-
 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 b7d693f..594ef44 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.




More information about the mesa-commit mailing list