glcpp: Automatically #define GL_core_profile 1 on GLSL 1.50+.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 8 Jun 2013 05:04:23 +0000 (22:04 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Jun 2013 17:54:56 +0000 (10:54 -0700)
commit603940d5bb69933543b41221ae5b4511fcde3eeb
tree4abc4b98a56eef6e378f11a93ce46ac5b50636fc
parente203919a4ede4edd519fc28cb69ec5f00d058bcd
glcpp: Automatically #define GL_core_profile 1 on GLSL 1.50+.

Page 17 of the GLSL 1.50.11 specification states:
"There is a built-in macro definition for each profile the
 implementation supports.  All implementations provide the following
 macro:

Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/glcpp/glcpp-parse.y