[Mesa-dev] [PATCH v2 13/13] intel: enable GL_AMD_vertex_shader_layer extension for gen7+

Jordan Justen jordan.l.justen at intel.com
Fri Jul 19 17:32:59 PDT 2013


Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Paul Berry <stereotype441 at gmail.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 409d40b..90d2068 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