glsl: add GL_OES_geometry_point_size and conditionalize gl_PointSize
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 22 Jan 2016 18:07:10 +0000 (13:07 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 26 Jan 2016 17:36:15 +0000 (12:36 -0500)
commit38c63abf09eaab9e2023d86b918784cd25cc0bc5
tree6cfa57b0f34704f13e5ad4bf5fd68bd15b47e193
parenteb63640c1d38a200a7b1540405051d3ff79d0d8a
glsl: add GL_OES_geometry_point_size and conditionalize gl_PointSize

For now this will be enabled in tandem with GL_OES_geometry_shader.
Should a driver come along that wants to separate them out, another
enable can be added.

Also adds the missed GL_OES_geometry_shader define in glcpp.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marta Lofstedt <marta.lofstedt@intel.com>
src/compiler/glsl/builtin_variables.cpp
src/compiler/glsl/glcpp/glcpp-parse.y
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/glsl_parser_extras.h
src/mesa/main/extensions_table.h