glsl: Treat sampler2DRect and sampler2DRectShadow as reserved in ES2
authorzhaowei yuan <zhaowei.yuan@samsung.com>
Tue, 12 Jun 2018 20:45:43 +0000 (04:45 +0800)
committerEric Anholt <eric@anholt.net>
Mon, 9 Jul 2018 18:37:08 +0000 (11:37 -0700)
commit73ec437627448466b2d3da3adc74310ccd4f41e7
tree5b2b21b7c85fac67462b1286415c6e49c53a7f8a
parent097952abaa9347b98d0cd03dc323db904e6a9b25
glsl: Treat sampler2DRect and sampler2DRectShadow as reserved in ES2

"sampler2DRect" and "sampler2DRectShadow" are specified as
reserved from GLSL 1.1 and GLSL ES 1.0

Signed-off-by: zhaowei yuan <zhaowei.yuan@samsung.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106906
Reviewed-by: Eric Anholt <eric@anholt.net>
Fixes: 34f7e761bc61 ("glsl/parser: Track built-in types using the glsl_type directly")
src/compiler/glsl/glsl_lexer.ll