Mesa (master): mesa: bump MAX_PROGRAM_TEMPS to 256 (there' s some big shaders out there)

Alan Hourihane alanh at kemper.freedesktop.org
Tue Mar 24 23:00:34 UTC 2009


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

Author: Alan Hourihane <alanh at vmware.com>
Date:   Tue Mar 24 22:59:20 2009 +0000

mesa: bump MAX_PROGRAM_TEMPS to 256 (there's some big shaders out there)

---

 src/mesa/main/config.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index fc31155..2a9fdf9 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -184,7 +184,7 @@
 #define MAX_PROGRAM_MATRICES 8
 #define MAX_PROGRAM_MATRIX_STACK_DEPTH 4
 #define MAX_PROGRAM_CALL_DEPTH 8
-#define MAX_PROGRAM_TEMPS 128
+#define MAX_PROGRAM_TEMPS 256
 #define MAX_PROGRAM_ADDRESS_REGS 2
 #define MAX_UNIFORMS 1024  /**< number of vec4 uniforms */
 #define MAX_VARYING 8      /**< number of float[4] vectors */




More information about the mesa-commit mailing list