summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2016-08-17 10:26:25 +0100
committerIan Romanick <ian.d.romanick@intel.com>2016-08-26 15:03:15 -0700
commitb387bc90c8f5f14cec4f909ce0d53455bc34ed1c (patch)
tree1a1aa39c3f736f559fb3e4e26a0102c18514b7b0
parentdc4f53b68308bbd79932470cf4613037f7e95fb7 (diff)
downloadexternal_mesa3d-b387bc90c8f5f14cec4f909ce0d53455bc34ed1c.zip
external_mesa3d-b387bc90c8f5f14cec4f909ce0d53455bc34ed1c.tar.gz
external_mesa3d-b387bc90c8f5f14cec4f909ce0d53455bc34ed1c.tar.bz2
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 <ian.d.romanick@intel.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r--docs/features.txt2
-rw-r--r--docs/relnotes/12.1.0.html1
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/docs/features.txt b/docs/features.txt
index fb10ba7..26e8ff7 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 d149066..c346aac 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.
<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>
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index c0223a1..48822b7 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) {