summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-04-22 12:46:13 +0000
committerKeith Whitwell <[email protected]>2005-04-22 12:46:13 +0000
commit6a13c7da4c79f7e811fbddc68f59441070ff0cc8 (patch)
treeac259059c23d16c3dba10497d4b38f7950212982
parentaddcc6afbd5a94bf0c35ad04e914503056d0e994 (diff)
Up the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.
-rw-r--r--src/mesa/main/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index a5c4d2c0d93..801c10b0810 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -165,7 +165,7 @@
/*@{*/
#define MAX_NV_VERTEX_PROGRAM_INSTRUCTIONS 128
#define MAX_NV_VERTEX_PROGRAM_TEMPS 12
-#define MAX_NV_VERTEX_PROGRAM_PARAMS 96
+#define MAX_NV_VERTEX_PROGRAM_PARAMS 128 /* KW: power of two */
#define MAX_NV_VERTEX_PROGRAM_INPUTS 16
#define MAX_NV_VERTEX_PROGRAM_OUTPUTS 15
/*@}*/
@@ -196,7 +196,7 @@
/** For any program target/extension */
/*@{*/
-#define MAX_PROGRAM_LOCAL_PARAMS 96
+#define MAX_PROGRAM_LOCAL_PARAMS 128 /* KW: power of two */
#define MAX_PROGRAM_MATRICES 8
#define MAX_PROGRAM_MATRIX_STACK_DEPTH 4
/*@}*/