diff options
author | Marek Olšák <[email protected]> | 2017-11-15 23:24:56 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-11-25 17:17:52 +0100 |
commit | 43abaf2ad0c1c42e56e47732395cc98912a050e8 (patch) | |
tree | ed29562b5efc2979815b1179aee0d566d175e1e9 /src/mesa/main/arrayobj.c | |
parent | 2116b974189b4d58d02bc1c9810aef820eed71b6 (diff) |
mesa: remove unused vertex attrib WEIGHT
We don't support ARB_vertex_blend.
Note that the attribute aliasing check for ARB_vertex_program had to be
rewritten.
vbo_context: 20344 -> 20008 bytes
gl_context: 74672 -> 74616 bytes
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/arrayobj.c')
-rw-r--r-- | src/mesa/main/arrayobj.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c index 88a5702f412..18d6d8008c1 100644 --- a/src/mesa/main/arrayobj.c +++ b/src/mesa/main/arrayobj.c @@ -277,9 +277,6 @@ _mesa_initialize_vao(struct gl_context *ctx, /* Init the individual arrays */ for (i = 0; i < ARRAY_SIZE(vao->VertexAttrib); i++) { switch (i) { - case VERT_ATTRIB_WEIGHT: - init_array(ctx, vao, VERT_ATTRIB_WEIGHT, 1, GL_FLOAT); - break; case VERT_ATTRIB_NORMAL: init_array(ctx, vao, VERT_ATTRIB_NORMAL, 3, GL_FLOAT); break; |