Commit c907595b authored by Anuj Phogat's avatar Anuj Phogat Committed by Matt Turner

glsl: Disable ARB_texture_rectangle in shader version 100.

OpenGL with ARB_ES2_compatibility allows shaders that specify #version

This fixes the Khronos OpenGL test(Texture_Rectangle_Samplers_frag.test)

Reviewed-by: default avatarMatt Turner <>
Reviewed-by: default avatarIan Romanick <>
Signed-off-by: default avatarAnuj Phogat <>
parent e0648015
......@@ -291,6 +291,10 @@ _mesa_glsl_parse_state::process_version_directive(YYLTYPE *locp, int version,
if (this->es_shader) {
this->ARB_texture_rectangle_enable = false;
this->language_version = version;
bool supported = false;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment