i965: Delete redundant extension enables

A nearly identical block already exists in the gen >= 6 block above.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Ian Romanick
2016-05-16 12:11:57 -07:00
parent d3a5cae60a
commit 895f7ddfb5
@@ -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) {