glcpp: Disallow undefining GL_* builtin macros.
authorChris Forbes <chrisf@ijw.co.nz>
Sat, 29 Nov 2014 20:54:59 +0000 (09:54 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 6 Dec 2014 22:47:45 +0000 (11:47 +1300)
commitb49a069bd3c96c8a144bb671863d0757fb421a07
treeec48195b0a693416ae998d540a090f805e2588c9
parented56c16820aea0e115768d77861fe266380f2595
glcpp: Disallow undefining GL_* builtin macros.

Fixes the piglit test: spec/glsl-es-3.00/compiler/undef-GL_ES.vert

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/glcpp/glcpp-parse.y