diff options
author | Ian Romanick <[email protected]> | 2016-05-16 12:11:57 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-06-20 11:18:39 -0700 |
commit | 895f7ddfb5c1c24d3f8269e73fc09458eddc4fdd (patch) | |
tree | 6ea62331bacdc14ae85a8a6a809440ddb6466ba1 /src/mesa | |
parent | d3a5cae60a9317d9c191c5d9eba31dfe713cba16 (diff) |
i965: Delete redundant extension enables
A nearly identical block already exists in the gen >= 6 block above.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 9 |
1 files changed, 0 insertions, 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) { |