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/tnl/t_context.h | |
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/tnl/t_context.h')
-rw-r--r-- | src/mesa/tnl/t_context.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index 67a87f26af5..ced2857fc97 100644 --- a/src/mesa/tnl/t_context.h +++ b/src/mesa/tnl/t_context.h @@ -77,7 +77,6 @@ */ enum { _TNL_ATTRIB_POS, - _TNL_ATTRIB_WEIGHT, _TNL_ATTRIB_NORMAL, _TNL_ATTRIB_COLOR0, _TNL_ATTRIB_COLOR1, @@ -150,7 +149,7 @@ enum { /** * Handy attribute ranges: */ -#define _TNL_FIRST_PROG _TNL_ATTRIB_WEIGHT +#define _TNL_FIRST_PROG _TNL_ATTRIB_NORMAL #define _TNL_LAST_PROG _TNL_ATTRIB_TEX7 #define _TNL_FIRST_TEX _TNL_ATTRIB_TEX0 |