diff options
author | Brian Paul <[email protected]> | 2011-03-11 09:25:22 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-03-11 09:25:22 -0700 |
commit | e0e94026a0648d6b33d6b7cf2b9b01429cf945e4 (patch) | |
tree | 516fd694c002e29ff6183d6064111b7bf88e3eb2 /src/mesa/program | |
parent | 8cc84b3e454cf03c71282322e988f03bc4a1baa3 (diff) |
mesa: move location of some geometry program limits
The gl_program_constants struct is for limits that are applicable to
any/all shader stages. Move the geometry shader-only fields into the
gl_constants struct.
Remove redundant MaxGeometryUniformComponents field too.
Diffstat (limited to 'src/mesa/program')
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 9c77f387593..c4704fe6b46 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -2460,7 +2460,7 @@ check_resources(const struct gl_context *ctx, break; case MESA_GEOMETRY_PROGRAM: if (_mesa_bitcount(prog->SamplersUsed) > - ctx->Const.GeometryProgram.MaxGeometryTextureImageUnits) { + ctx->Const.MaxGeometryTextureImageUnits) { fail_link(shader_program, "Too many geometry shader texture samplers"); } if (prog->Parameters->NumParameters > |