[Mesa-dev] [PATCH 2/3] mesa: bump max program local params, max uniforms limit

Brian Paul brian.e.paul at gmail.com
Tue Aug 30 13:26:27 PDT 2011


From: Brian Paul <brianp at vmware.com>

Some driver support more than 1024.
---
 src/mesa/main/config.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index fffb1a7..91aef90 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -203,8 +203,8 @@
  * per-program parameters.
  */
 /*@{*/
-#define MAX_PROGRAM_LOCAL_PARAMS       1024
-#define MAX_UNIFORMS                   1024
+#define MAX_PROGRAM_LOCAL_PARAMS       4096
+#define MAX_UNIFORMS                   4096
 /*@}*/
 
 /**
-- 
1.7.3.4



More information about the mesa-dev mailing list