i965: Delete redundant extension enables
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 16 May 2016 19:11:57 +0000 (12:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jun 2016 18:18:39 +0000 (11:18 -0700)
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>
src/mesa/drivers/dri/i965/intel_extensions.c

index 5e27d784a5dcc87a6338fbbea7eb00cd94d743d5..27dfb0cd5ee3e2c563bbd00b7b4c062cae329c71 100644 (file)
@@ -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) {