i965 gen6: Turn on transform feedback extension unconditionally.
authorPaul Berry <stereotype441@gmail.com>
Mon, 19 Dec 2011 23:15:49 +0000 (15:15 -0800)
committerPaul Berry <stereotype441@gmail.com>
Tue, 20 Dec 2011 23:22:28 +0000 (15:22 -0800)
Previously, we only enabled transform feedback when
MESA_GL_VERSION_OVERRIDE was 3.0 or greater, since transform feedback
support was not completely finished, so it didn't make sense to
advertise support for it unless absolutely necessary.

Now that transform feedback is fully implemented on gen6, we can
enable this extension unconditionally.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_extensions.c

index 76954d11b3a47cb98607a39c71f3ddf85cc8a25c..7ab5d9051c1b952a0bacdb2e0cd57268a95daf26 100644 (file)
@@ -104,7 +104,7 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Const.GLSLVersion = 120;
    _mesa_override_glsl_version(ctx);
 
-   if (intel->gen == 6 && override_version >= 30)
+   if (intel->gen == 6)
       ctx->Extensions.EXT_transform_feedback = true;
 
    if (intel->gen >= 5)