i965: Enable OES_texture_cube_map_array on Gen8+
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 17 Aug 2016 09:26:25 +0000 (10:26 +0100)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Aug 2016 22:03:15 +0000 (15:03 -0700)
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 <ian.d.romanick@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
docs/features.txt
docs/relnotes/12.1.0.html
src/mesa/drivers/dri/i965/intel_extensions.c

index fb10ba7e80d4d2dad8eacae357d6bb3528abbfec..26e8ff70b42600acda9598dfe355b3d1da7d9a6e 100644 (file)
@@ -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)
 
index d14906661c818d81fe48893f15024073e8fef02d..c346aac5985a14a48c392b632c3a7e0bd3f1069d 100644 (file)
@@ -58,6 +58,7 @@ Note: some of the new features are only available with certain drivers.
 <li>OpenGL ES 3.1 on i965/hsw</li>
 <li>GL_KHR_blend_equation_advanced on i965</li>
 <li>GL_OES_geometry_shader on i965/gen8+.</li>
+<li>GL_OES_texture_cube_map_array on i965/gen8+.</li>
 </ul>
 
 <h2>Bug fixes</h2>
index c0223a1f8f70f566237d05bd31b0010bb096ac3e..48822b72f34befc15264f6b98a295f25ddc9163c 100644 (file)
@@ -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) {