From 895f7ddfb5c1c24d3f8269e73fc09458eddc4fdd Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 16 May 2016 12:11:57 -0700 Subject: [PATCH] i965: Delete redundant extension enables A nearly identical block already exists in the gen >= 6 block above. Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/intel_extensions.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 5e27d784a5d..27dfb0cd5ee 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -362,15 +362,6 @@ intelInitExtensions(struct gl_context *ctx) if (brw->intelScreen->cmd_parser_version >= 2) brw->predicate.supported = true; } - - /* Only enable this in core profile because other parts of Mesa behave - * slightly differently when the extension is enabled. - */ - if (ctx->API == API_OPENGL_CORE) { - ctx->Extensions.ARB_viewport_array = true; - ctx->Extensions.AMD_vertex_shader_viewport_index = true; - ctx->Extensions.ARB_shader_subroutine = true; - } } if (brw->gen >= 8 || brw->is_haswell || brw->is_baytrail) { -- 2.30.2