From b387bc90c8f5f14cec4f909ce0d53455bc34ed1c Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 17 Aug 2016 10:26:25 +0100 Subject: [PATCH] i965: Enable OES_texture_cube_map_array on Gen8+ These are the only platforms that current expose OES_geometry_shader. Once OpenGL ES 3.1 and OES_geometry_shader are enabled on Gen7, this extension can be enabled there as well. Gen6 will never get OpenGL ES 3.1, so it will never get this extension... even though it has the desktop OpenGL extension. Alas. NOTE: This causes a failure on Gen8+ platforms in ES3-CTS.gtf.GL3Tests.texture_storage.texture_storage_texture_targets. The test only fails because it doesn't know that 0x9009 is a valid value when the extension exists. Signed-off-by: Ian Romanick Reviewed-by: Ilia Mirkin Reviewed-by: Kenneth Graunke --- docs/features.txt | 2 +- docs/relnotes/12.1.0.html | 1 + src/mesa/drivers/dri/i965/intel_extensions.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index fb10ba7e80d..26e8ff70b42 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -271,7 +271,7 @@ GLES3.2, GLSL ES 3.2: GL_OES_tessellation_shader started (Ken) GL_OES_texture_border_clamp DONE (all drivers) GL_OES_texture_buffer DONE (i965, nvc0, radeonsi) - GL_OES_texture_cube_map_array not started (based on GL_ARB_texture_cube_map_array, which is done for all drivers) + GL_OES_texture_cube_map_array DONE (i965/gen8+) GL_OES_texture_stencil8 DONE (all drivers that support GL_ARB_texture_stencil8) GL_OES_texture_storage_multisample_2d_array DONE (all drivers that support GL_ARB_texture_multisample) diff --git a/docs/relnotes/12.1.0.html b/docs/relnotes/12.1.0.html index d14906661c8..c346aac5985 100644 --- a/docs/relnotes/12.1.0.html +++ b/docs/relnotes/12.1.0.html @@ -58,6 +58,7 @@ Note: some of the new features are only available with certain drivers.
  • OpenGL ES 3.1 on i965/hsw
  • GL_KHR_blend_equation_advanced on i965
  • GL_OES_geometry_shader on i965/gen8+.
  • +
  • GL_OES_texture_cube_map_array on i965/gen8+.
  • Bug fixes

    diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index c0223a1f8f7..48822b72f34 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -400,6 +400,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_vertex_attrib_64bit = true; ctx->Extensions.OES_geometry_shader = true; ctx->Extensions.OES_shader_io_blocks = true; + ctx->Extensions.OES_texture_cube_map_array = true; } if (brw->gen >= 9) { -- 2.30.2