[Mesa-dev] [RFC PATCH 12/12] intel: enable GL_AMD_vertex_shader_layer extension for gen7+

Jordan Justen jordan.l.justen at intel.com
Mon Jul 15 17:14:48 PDT 2013


Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
 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 1e762ef..2db7cb4 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -129,6 +129,10 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Const.GLSLVersion = 120;
    _mesa_override_glsl_version(ctx);
 
+   if (brw->gen >= 7) {
+      ctx->Extensions.AMD_vertex_shader_layer = true;
+   }
+
    if (brw->gen >= 6) {
       uint64_t dummy;
 
-- 
1.7.10.4



More information about the mesa-dev mailing list