[Mesa-dev] [PATCH 3/3] i965: Delete redundant extension enables
Ian Romanick
idr at freedesktop.org
Mon May 16 19:24:23 UTC 2016
From: Ian Romanick <ian.d.romanick at intel.com>
A nearly identical block already exists in the gen >= 6 block above.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
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 362a7e5..a6a080f 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -358,15 +358,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->intelScreen->has_mi_math_and_lrr) {
--
2.5.5
More information about the mesa-dev
mailing list