glsl2: Conditionally define preprocessor tokens for optional extensions
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 30 Jun 2010 23:27:22 +0000 (16:27 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 2 Jul 2010 03:40:08 +0000 (20:40 -0700)
commit06143ea09411aa283ac3633bfbfa4326584cd952
tree9823df6abda22c93745029eecd930e85fd9241f7
parent2d1223611700b33aab084f1927bfc1ff1b284115
glsl2: Conditionally define preprocessor tokens for optional extensions

The only optional extension currently supported by the compiler is
GL_EXT_texture_array.
src/glsl/glcpp/glcpp-parse.y
src/glsl/glcpp/glcpp.c
src/glsl/glcpp/glcpp.h
src/glsl/glcpp/pp.c
src/glsl/glsl_parser_extras.h
src/glsl/main.cpp
src/mesa/shader/ir_to_mesa.cpp