i965/gen7: Enable EXT_transform_feedback extension under 3.0 override.
authorEric Anholt <eric@anholt.net>
Fri, 30 Sep 2011 06:16:30 +0000 (23:16 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 24 Dec 2011 06:02:04 +0000 (22:02 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/intel/intel_extensions.c

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