aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/config.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-04-17 01:48:19 +0000
committerBrian Paul <[email protected]>2003-04-17 01:48:19 +0000
commit451f31093e950e2c76e8d7dee3cb097049a906b5 (patch)
tree84e85ea7c447acce7e3516c9d4d4dc9fadc8392d /src/mesa/main/config.h
parent2db8041ffed9db2e68c55f18eedeaa95c23ac761 (diff)
checkpoint: more infrastructure for GL_ARB_vertex/fragment_program.
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r--src/mesa/main/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index f1f621c6b82..f537a539e6d 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -165,6 +165,14 @@
#define MAX_NV_FRAGMENT_PROGRAM_OUTPUTS 3
#define MAX_NV_FRAGMENT_PROGRAM_WRITE_ONLYS 2
+/* GL_ARB_vertex_program */
+#define MAX_VERTEX_PROGRAM_ADDRESS_REGS 1
+
+/* GL_ARB_fragment_program */
+#define MAX_FRAGMENT_PROGRAM_ADDRESS_REGS 1
+#define MAX_FRAGMENT_PROGRAM_ALU_INSTRUCTIONS 48
+#define MAX_FRAGMENT_PROGRAM_TEX_INSTRUCTIONS 24
+#define MAX_FRAGMENT_PROGRAM_TEX_INDIRECTIONS 4
/*