diff options
author | Paul Berry <[email protected]> | 2011-11-12 16:25:22 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-12-20 15:00:28 -0800 |
commit | 6ca61441b5cea8a2996c1adb4cc300a3c2be3ec9 (patch) | |
tree | 257900399c590a0f0811da29949f06fae98cdd17 /src/mesa | |
parent | 9308f298300beaa757194a0db8ed50924754c011 (diff) |
i965 gen6: Turn on transform feedback extension.
This patch advertises support for EXT_transform_feedback on Intel
Gen6.
Since transform feedback support is not completely finished yet, for
now we only advertise support for it when MESA_GL_VERSION_OVERRIDE is
3.0 or greater (since transform feedback is required by GL version
3.0).
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_extensions.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index 2e2a31f89eb..76954d11b3a 100644 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -104,6 +104,9 @@ intelInitExtensions(struct gl_context *ctx) ctx->Const.GLSLVersion = 120; _mesa_override_glsl_version(ctx); + if (intel->gen == 6 && override_version >= 30) + ctx->Extensions.EXT_transform_feedback = true; + if (intel->gen >= 5) ctx->Extensions.EXT_timer_query = true; |