glsl: Disable ARB_texture_rectangle in shader version 100.
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 17 Jan 2014 20:23:05 +0000 (12:23 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 23 Jan 2014 19:33:22 +0000 (11:33 -0800)
commitc907595ba77a0c74b18b6908f71fafc3c08e2886
treeaf33f5b021498a5be8910e3f8b5e5249eb4897c4
parente0648015e96e6b484aa75cd6da1f0a506afb1636
glsl: Disable ARB_texture_rectangle in shader version 100.

OpenGL with ARB_ES2_compatibility allows shaders that specify #version
100.

This fixes the Khronos OpenGL test(Texture_Rectangle_Samplers_frag.test)
failure.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
src/glsl/glsl_parser_extras.cpp