glsl: Add extension plumbing for OES/EXT_tessellation_shader.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 8 Jul 2016 19:00:30 +0000 (12:00 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Aug 2016 16:59:03 +0000 (09:59 -0700)
commit58709d36d73419c21b899d4b9d08a4a82a2cc28b
treeb9c24748c0dc598491c56c208c830ee2370d7970
parent722fd10456f8e92d61c492b662a24215eb4cd166
glsl: Add extension plumbing for OES/EXT_tessellation_shader.

This adds the #extension directive support, built-in #defines,
lexer keyword support, and updates has_tessellation_shader().

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/glsl/glsl_lexer.ll
src/compiler/glsl/glsl_parser.yy
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/glsl_parser_extras.h