glsl: fix bogus layout qualifier warnings
authorTapani Pälli <tapani.palli@intel.com>
Wed, 30 Apr 2014 07:56:59 +0000 (10:56 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 6 May 2014 05:36:40 +0000 (08:36 +0300)
commite65917f94e5fd13eb75f874fac4d77a29737e808
treeb3b50775b5283b649281eb99cafb11ca1554ac0d
parent6dd907c80d3f9f17e24c751e5723e279fd70891b
glsl: fix bogus layout qualifier warnings

Print out GL_ARB_explicit_attrib_location warnings only
when parsing attribute that uses "location" qualifier.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77245
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
src/glsl/glsl_parser.yy