Mesa (glsl2): glsl2: Enable all supported extensions in stand-alone compiler

Ian Romanick idr at kemper.freedesktop.org
Thu Aug 5 17:55:25 PDT 2010


Module: Mesa
Branch: glsl2
Commit: 4f397e1d641bf265b395f7dec062dab451fb5a54
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f397e1d641bf265b395f7dec062dab451fb5a54

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Aug  5 17:50:13 2010 -0700

glsl2: Enable all supported extensions in stand-alone compiler

---

 src/glsl/glsl_parser_extras.cpp |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index 15fa61d..dbf6f53 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. */



More information about the mesa-commit mailing list