glsl: recognize ARB_shading_language_420pack to be enabled with 4.20+
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 24 Jul 2015 21:06:22 +0000 (17:06 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 24 Jul 2015 22:25:06 +0000 (18:25 -0400)
commitb42444ffed87114e82522dd81d3e5540c21a128c
tree367f2519ca2c93c910fd853f53744711a816a6ca
parentf8059c9f3fdd270370737c9eff369eb6d14caa0b
glsl: recognize ARB_shading_language_420pack to be enabled with 4.20+

The 420pack extension enables various GLSL rules that need to be applied
to any GLSL 4.20+ shader even if the extension is not explicitly
enabled.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/glsl/glsl_parser.yy
src/glsl/glsl_parser_extras.h