glsl: add ARB_ES3_1_compatibility support
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 19 Feb 2016 19:03:39 +0000 (14:03 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 3 Apr 2016 22:01:15 +0000 (18:01 -0400)
commit9abbc4971264233a4b4f9ec6ddb88d0dc4c9a25e
treed30ea428bd93f0c8b9462fa2c74b5130aecbf55f
parent1708e24f654706565633c4deacf83f7422e5b2a7
glsl: add ARB_ES3_1_compatibility support

Oddly a bunch of the features it adds are actually from ESSL 3.20. But
the spec is quite clear, oh well.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/builtin_functions.cpp
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