Mesa (master): mesa: bump max program local params, max uniforms limit

Brian Paul brianp at kemper.freedesktop.org
Wed Aug 31 19:01:06 UTC 2011


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

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Aug 30 14:24:55 2011 -0600

mesa: bump max program local params, max uniforms limit

Some driver support more than 1024.

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

---

 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
 /*@}*/
 
 /**




More information about the mesa-commit mailing list