summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-18 18:02:43 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-18 18:02:43 +0000
commitedd677454dc38a590bd6fc1cd3e2759d2a4d55e3 (patch)
tree52a93e5ef93d23971cb4dfc994a347b1b6bafd1c /src/mesa/main/mtypes.h
parent9b14e0fbfd96d02574f8f5910ebc8a52c62a24aa (diff)
minor re-org of program matrix, program local parameter limits
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index e931f49de8..edea218095 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1240,7 +1240,7 @@ struct program
GLenum Format; /* String encoding format */
GLint RefCount;
GLboolean Resident;
- GLfloat LocalParams[MAX_NV_FRAGMENT_PROGRAM_PARAMS][4];
+ GLfloat LocalParams[MAX_PROGRAM_LOCAL_PARAMS][4];
GLuint NumInstructions; /* GL_ARB_vertex/fragment_program */
GLuint NumTemporaries;
GLuint NumParameters;
@@ -1424,6 +1424,9 @@ struct gl_constants {
GLuint MaxFragmentProgramAluInstructions;
GLuint MaxFragmentProgramTexInstructions;
GLuint MaxFragmentProgramTexIndirections;
+ /* vertex or fragment program */
+ GLuint MaxProgramMatrices;
+ GLuint MaxProgramMatrixStackDepth;
};