ARB prog lexer: attenuation is not just for vp
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 30 Jul 2009 03:42:28 +0000 (20:42 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 30 Jul 2009 03:42:28 +0000 (20:42 -0700)
src/mesa/shader/lex.yy.c
src/mesa/shader/program_lexer.l

index 6202ca44c811b4ad2e3198ad8c7fc6af86b55886..0ff4baca5e722441dcfb9449c0503d5d566c5a68 100644 (file)
@@ -1769,7 +1769,7 @@ YY_RULE_SETUP
 case 85:
 YY_RULE_SETUP
 #line 239 "program_lexer.l"
-{ return_token_or_DOT(require_ARB_vp, ATTENUATION); }
+{ return ATTENUATION; }
        YY_BREAK
 case 86:
 YY_RULE_SETUP
index e1069ab4d7f5667c7ba75f1c0b0981158f6b1cd5..05978311ec68138e9fb9605e0e3cc49560d29e1e 100644 (file)
@@ -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; }