summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-08-05 17:50:13 -0700
committerIan Romanick <[email protected]>2010-08-05 17:50:13 -0700
commit4f397e1d641bf265b395f7dec062dab451fb5a54 (patch)
tree9eb1a517c14e4c0683e604155752b70eb614fccf /src/glsl
parent0a09d679ca97dcb634a939df2110a90c9504e2ec (diff)
glsl2: Enable all supported extensions in stand-alone compiler
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/glsl_parser_extras.cpp5
1 files changed, 5 insertions, 0 deletions
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. */