glsl2: Conditionally allow optional extensions to be enabled
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 30 Jun 2010 23:42:07 +0000 (16:42 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 2 Jul 2010 03:40:08 +0000 (20:40 -0700)
commit667f4e1940c4c4660e35dc9906672a476369660f
treecec67053730af9c360c3c1148fd55eb7bcb3d2fa
parentefb6b24223e0bfd29959e131cd308b1e07ff20df
glsl2: Conditionally allow optional extensions to be enabled

The only optional extension currently supported by the compiler is
GL_EXT_texture_array.
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h
src/glsl/main.cpp
src/mesa/shader/ir_to_mesa.cpp