[Mesa-dev] [PATCH 9/9] i965: Enable the ARB_transform_feedback2 extension on Gen7+.
Kenneth Graunke
kenneth at whitecape.org
Fri Oct 18 08:09:37 CEST 2013
All the necessary pieces are now in place.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/dri/i965/intel_extensions.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 334be05..c09ee39 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -133,6 +133,10 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Const.GLSLVersion = 120;
_mesa_override_glsl_version(ctx);
+ if (brw->gen >= 7) {
+ ctx->Extensions.ARB_transform_feedback2 = true;
+ }
+
if (brw->gen >= 6) {
uint64_t dummy;
--
1.8.3.2
More information about the mesa-dev
mailing list