diff options
author | Ian Romanick <[email protected]> | 2011-08-18 15:43:50 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-10-04 13:17:48 -0700 |
commit | 35613afee3e038b70ada210b2dfbbc9abc883f4f (patch) | |
tree | d6500dd6b37736e13adc5b3a6f225b8f8f5d52c4 /src/mesa/main | |
parent | 24409ba1968cc49cbde6a111464c91271babc68a (diff) |
mesa: Remove unused gl_program::Attributes
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 5 | ||||
-rw-r--r-- | src/mesa/main/shader_query.cpp | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index bd9de8a3691..67db4df8f79 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1834,9 +1834,6 @@ struct gl_program /** Numbered local parameters */ GLfloat LocalParams[MAX_PROGRAM_LOCAL_PARAMS][4]; - /** Vertex program user-defined attributes */ - struct gl_program_parameter_list *Attributes; - /** Map from sampler unit to texture unit (set by glUniform1i()) */ GLubyte SamplerUnits[MAX_SAMPLERS]; /** Which texture target is being sampled (TEXTURE_1D/2D/3D/etc_INDEX) */ @@ -2152,8 +2149,6 @@ struct gl_shader_program * These are set via \c glBindAttribLocation and are used to direct the * GLSL linker. These are \b not the values used in the compiled shader, * and they are \b not the values returned by \c glGetAttribLocation. - * - * \sa gl_program::Attributes */ struct string_to_uint_map *AttributeBindings; diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp index e532a29e1cf..bd873a49134 100644 --- a/src/mesa/main/shader_query.cpp +++ b/src/mesa/main/shader_query.cpp @@ -45,10 +45,6 @@ _mesa_BindAttribLocationARB(GLhandleARB program, GLuint index, { GET_CURRENT_CONTEXT(ctx); - const GLint size = -1; /* unknown size */ - GLint i; - GLenum datatype = GL_FLOAT_VEC4; - struct gl_shader_program *const shProg = _mesa_lookup_shader_program_err(ctx, program, "glBindAttribLocation"); if (!shProg) |