summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program_lexer.l
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-11-15 23:24:56 +0100
committerMarek Olšák <[email protected]>2017-11-25 17:17:52 +0100
commit43abaf2ad0c1c42e56e47732395cc98912a050e8 (patch)
treeed29562b5efc2979815b1179aee0d566d175e1e9 /src/mesa/program/program_lexer.l
parent2116b974189b4d58d02bc1c9810aef820eed71b6 (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/program/program_lexer.l')
-rw-r--r--src/mesa/program/program_lexer.l1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/program/program_lexer.l b/src/mesa/program/program_lexer.l
index dee66cbf30a..2e168b83bdb 100644
--- a/src/mesa/program/program_lexer.l
+++ b/src/mesa/program/program_lexer.l
@@ -289,7 +289,6 @@ result { return RESULT; }
{dot}texture { return TEXTURE; }
{dot}transpose { return TRANSPOSE; }
{dot}attrib { return_token_or_DOT(require_ARB_vp, VTXATTRIB); }
-{dot}weight { return_token_or_DOT(require_ARB_vp, WEIGHT); }
texture { return_token_or_IDENTIFIER(require_ARB_fp, TEXTURE_UNIT); }
1D { return_token_or_IDENTIFIER(require_ARB_fp, TEX_1D); }