From 3a2e71874b630fe5d7ec36bbbd69a6dacab7cd15 Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Mon, 19 Dec 2011 15:15:49 -0800 Subject: [PATCH] i965 gen6: Turn on transform feedback extension unconditionally. 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 --- src/mesa/drivers/dri/intel/intel_extensions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index 76954d11b3a..7ab5d9051c1 100644 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -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) -- 2.30.2