Module: Mesa
Branch: master
Commit: 3a2e71874b630fe5d7ec36bbbd69a6dacab7cd15
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a2e71874b630fe5d7ec36bbbd69a6dacab7cd15

Author: Paul Berry <stereotype...@gmail.com>
Date:   Mon Dec 19 15:15:49 2011 -0800

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 <kenn...@whitecape.org>

---

 src/mesa/drivers/dri/intel/intel_extensions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c 
b/src/mesa/drivers/dri/intel/intel_extensions.c
index 76954d1..7ab5d90 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)

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to