From: Paul Berry Date: Mon, 19 Dec 2011 23:15:49 +0000 (-0800) Subject: i965 gen6: Turn on transform feedback extension unconditionally. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a2e71874b630fe5d7ec36bbbd69a6dacab7cd15;p=mesa.git 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 --- 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)