From: Paul Berry Date: Wed, 15 Jun 2011 23:26:10 +0000 (-0700) Subject: glsl: Flagged extension EXT_texture3D as "supported" in the builtin compiler. X-Git-Tag: mesa-7.11-rc1~95 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=935e7e41266186c454e08c80aff40c34084d83c6;p=platform%2Fupstream%2Fmesa.git glsl: Flagged extension EXT_texture3D as "supported" in the builtin compiler. Previously, the builtins in OES_texture_3D.{frag,vert} were only compiling properly as a consequence of bug 38015, which allows unsupported extensions to be enabled. This fix eliminates the builtin compiler's reliance on bug 38015, so that bug 38015 can be fixed. --- diff --git a/src/glsl/main.cpp b/src/glsl/main.cpp index 096da93..7952bb1 100644 --- a/src/glsl/main.cpp +++ b/src/glsl/main.cpp @@ -76,6 +76,7 @@ initialize_context(struct gl_context *ctx, gl_api api) ctx->Extensions.ARB_fragment_coord_conventions = GL_TRUE; ctx->Extensions.EXT_texture_array = GL_TRUE; ctx->Extensions.NV_texture_rectangle = GL_TRUE; + ctx->Extensions.EXT_texture3D = GL_TRUE; /* GLSL 1.30 isn't fully supported, but we need to advertise 1.30 so that * the built-in functions for 1.30 can be built.