glsl2: Enable all supported extensions in stand-alone compiler
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 6 Aug 2010 00:50:13 +0000 (17:50 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 6 Aug 2010 00:50:13 +0000 (17:50 -0700)
src/glsl/glsl_parser_extras.cpp

index 15fa61d950586a19e2396991647487921612a4bb..dbf6f53156981c6e7dda27ac776df71b5e339ad6 100644 (file)
@@ -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. */