[Mesa-dev] [PATCH 1/7] i965/gen7: Enable EXT_transform_feedback extension under 3.0 override.

Eric Anholt eric at anholt.net
Thu Dec 22 16:54:44 PST 2011


Reviewed-by: Kenneth Graunke <kenneth at 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 7ab5d90..09ee9ba 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)
+   if (intel->gen == 6 || (intel->gen == 7 && override_version >= 30))
       ctx->Extensions.EXT_transform_feedback = true;
 
    if (intel->gen >= 5)
-- 
1.7.7.3



More information about the mesa-dev mailing list