diff options
author | Ian Romanick <[email protected]> | 2009-08-24 11:59:58 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2009-08-24 12:00:35 -0700 |
commit | d8a3ada7fb0f50ce9241c452364d9dcc94eef5de (patch) | |
tree | 837a67fb9fa1a6c3f39d1c1b5e7dd83cfdcc032f /src | |
parent | 4cf27608bc069225bf91d47585e344a2c122e940 (diff) |
ARB prog parser: Regenerate parser from previous commit
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/program_parse.tab.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/shader/program_parse.tab.c b/src/mesa/shader/program_parse.tab.c index dbed448113e..5c604c2fd1f 100644 --- a/src/mesa/shader/program_parse.tab.c +++ b/src/mesa/shader/program_parse.tab.c @@ -5156,12 +5156,12 @@ _mesa_parse_arb_program(GLcontext *ctx, GLenum target, const GLubyte *str, ? & ctx->Const.VertexProgram : & ctx->Const.FragmentProgram; - state->MaxTextureImageUnits = 16; - state->MaxTextureCoordUnits = 8; - state->MaxTextureUnits = 8; - state->MaxClipPlanes = 6; - state->MaxLights = 8; - state->MaxProgramMatrices = 8; + state->MaxTextureImageUnits = ctx->Const.MaxTextureImageUnits; + state->MaxTextureCoordUnits = ctx->Const.MaxTextureCoordUnits; + state->MaxTextureUnits = ctx->Const.MaxTextureUnits; + state->MaxClipPlanes = ctx->Const.MaxClipPlanes; + state->MaxLights = ctx->Const.MaxLights; + state->MaxProgramMatrices = ctx->Const.MaxProgramMatrices; state->state_param_enum = (target == GL_VERTEX_PROGRAM_ARB) ? STATE_VERTEX_PROGRAM : STATE_FRAGMENT_PROGRAM; |