summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-11-01 00:12:41 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-11-01 00:12:41 +0000
commit90fcf6ccc345c287309d7d17b2ff256cc22fb2b7 (patch)
treee7d348a9064424ae8e60023cf778e7993528fc01 /src/mesa/main/mtypes.h
parent5050b565deca3cad165cd2f68badc084b9aa5377 (diff)
Added a few new ctx->Const. fields for shader-related limits.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index ffae6ff178..4803d0c047 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2311,6 +2311,8 @@ struct gl_program_constants
GLuint MaxNativeTemps;
GLuint MaxNativeAddressRegs; /* vertex program only, for now */
GLuint MaxNativeParameters;
+ /* For shaders */
+ GLuint MaxUniformComponents;
};
@@ -2360,6 +2362,9 @@ struct gl_constants
/* GL_EXT_framebuffer_object */
GLuint MaxColorAttachments;
GLuint MaxRenderbufferSize;
+ /* GL_ARB_vertex_shader */
+ GLuint MaxVertexTextureImageUnits;
+ GLuint MaxVaryingFloats;
};