From: Ian Romanick Date: Fri, 6 Aug 2010 00:50:13 +0000 (-0700) Subject: glsl2: Enable all supported extensions in stand-alone compiler X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f397e1d641bf265b395f7dec062dab451fb5a54;p=mesa.git glsl2: Enable all supported extensions in stand-alone compiler --- diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp index 15fa61d9505..dbf6f531569 100644 --- a/src/glsl/glsl_parser_extras.cpp +++ b/src/glsl/glsl_parser_extras.cpp @@ -74,6 +74,11 @@ _mesa_glsl_parse_state::_mesa_glsl_parse_state(struct __GLcontextRec *ctx, static struct gl_extensions null_extensions; memset(&null_extensions, 0, sizeof(null_extensions)); + null_extensions.ARB_draw_buffers = GL_TRUE; + null_extensions.ARB_fragment_coord_conventions = GL_TRUE; + null_extensions.EXT_texture_array = GL_TRUE; + null_extensions.NV_texture_rectangle = GL_TRUE; + this->extensions = &null_extensions; /* 1.10 minimums. */