From: Ian Romanick Date: Mon, 16 May 2016 19:11:57 +0000 (-0700) Subject: i965: Delete redundant extension enables X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=895f7ddfb5c1c24d3f8269e73fc09458eddc4fdd;p=mesa.git 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 --- 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) {