From 1472ff35914fb50c8b49a4f8678c76327e7da75c Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 8 Nov 2016 10:10:35 -0800 Subject: i965: Enable several GLES 3.1 extensions on HSW+ The only reason we didn't previously enable this was the dependency on OpenGL ES 3.1. These should have been enabled as soon as HSW got stencil texturing. We also needed to fixup setting MaxViewports. Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/intel_extensions.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 22651de90e5..915797a58a5 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -242,6 +242,9 @@ intelInitExtensions(struct gl_context *ctx) if (brw->gen >= 8 || brw->is_haswell) { ctx->Extensions.ARB_stencil_texturing = true; ctx->Extensions.ARB_texture_stencil8 = true; + ctx->Extensions.OES_geometry_shader = true; + ctx->Extensions.OES_texture_cube_map_array = true; + ctx->Extensions.OES_viewport_array = true; } if (brw->gen >= 8 || brw->is_haswell || brw->is_baytrail) { @@ -265,9 +268,6 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_shader_precision = true; ctx->Extensions.ARB_vertex_attrib_64bit = true; ctx->Extensions.ARB_ES3_2_compatibility = true; - ctx->Extensions.OES_geometry_shader = true; - ctx->Extensions.OES_texture_cube_map_array = true; - ctx->Extensions.OES_viewport_array = true; } if (brw->gen >= 9) { -- cgit v1.2.3