summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/config.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2006-12-15 10:07:26 -0700
committerBrian <[email protected]>2006-12-15 10:07:26 -0700
commita90046f1097ad95de2aa95ca65741dff5cddced9 (patch)
treeaaafa8447834afb7ecc1fd139168a64e1da2b4c7 /src/mesa/main/config.h
parentbecb393d42504e59811a3a7c9f077baffab5ce5d (diff)
Lots of assorted changes for new GLSL compiler backend.
New datatypes, constants, variables.
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r--src/mesa/main/config.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index 13c6281f077..d779860f114 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -199,18 +199,14 @@
#define MAX_PROGRAM_MATRICES 8
#define MAX_PROGRAM_MATRIX_STACK_DEPTH 4
#define MAX_PROGRAM_CALL_DEPTH 8
-/*@}*/
-
-/** For GL_ARB_fragment_shader */
-/*@{*/
-#define MAX_FRAGMENT_UNIFORM_COMPONENTS 64
+#define MAX_PROGRAM_TEMPS 128
+#define MAX_UNIFORMS 128
+#define MAX_VARYING 8
/*@}*/
/** For GL_ARB_vertex_shader */
/*@{*/
#define MAX_VERTEX_ATTRIBS 16
-#define MAX_VERTEX_UNIFORM_COMPONENTS 512
-#define MAX_VARYING_FLOATS 32
#define MAX_VERTEX_TEXTURE_IMAGE_UNITS 0
#define MAX_COMBINED_TEXTURE_IMAGE_UNITS (MAX_TEXTURE_IMAGE_UNITS + MAX_VERTEX_TEXTURE_IMAGE_UNITS)
/*@}*/