summaryrefslogtreecommitdiff
path: root/src/mesa/shader/program_lexer.l
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2009-07-29 20:42:28 -0700
committerIan Romanick <ian.d.romanick@intel.com>2009-07-29 20:42:28 -0700
commitcbe4133109c95fa6b90d8a601c78f043db456809 (patch)
tree36f8fc1b20adfc6c95b20c58f019690e3b0fb952 /src/mesa/shader/program_lexer.l
parent333bb4f291b224ed82d87ade7ac157fb93fc5d12 (diff)
ARB prog lexer: attenuation is not just for vp
Diffstat (limited to 'src/mesa/shader/program_lexer.l')
-rw-r--r--src/mesa/shader/program_lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/program_lexer.l b/src/mesa/shader/program_lexer.l
index e1069ab4d7f..05978311ec6 100644
--- a/src/mesa/shader/program_lexer.l
+++ b/src/mesa/shader/program_lexer.l
@@ -236,7 +236,7 @@ state { return STATE; }
result { return RESULT; }
{dot}ambient { return AMBIENT; }
-{dot}attenuation { return_token_or_DOT(require_ARB_vp, ATTENUATION); }
+{dot}attenuation { return ATTENUATION; }
{dot}back { return BACK; }
{dot}clip { return_token_or_DOT(require_ARB_vp, CLIP); }
{dot}color { return COLOR; }