[Mesa-dev] [PATCH V4 5/6] i965: expose ARB_texture_cube_map_array

Chris Forbes chrisf at ijw.co.nz
Tue Dec 4 21:03:03 PST 2012


V3: Put enable in an existing block rather than making a new
one for no good reason.

Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>

Reviewed-by: Eric Anholt <eric at anholt.net>
---
 docs/GL3.txt                                  | 2 +-
 src/mesa/drivers/dri/intel/intel_extensions.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/GL3.txt b/docs/GL3.txt
index ba1b0d1..99c3194 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@ -96,7 +96,7 @@ GL_ARB_sample_shading                                not started
 GL_ARB_shader_subroutine                             not started
 GL_ARB_tessellation_shader                           not started
 GL_ARB_texture_buffer_object_rgb32                   not started
-GL_ARB_texture_cube_map_array                        DONE (softpipe)
+GL_ARB_texture_cube_map_array                        DONE (i965, softpipe)
 GL_ARB_texture_gather                                not started
 GL_ARB_transform_feedback2                           DONE
 GL_ARB_transform_feedback3                           DONE
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c
index 96288ab..b297e6c 100755
--- a/src/mesa/drivers/dri/intel/intel_extensions.c
+++ b/src/mesa/drivers/dri/intel/intel_extensions.c
@@ -106,6 +106,7 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.ARB_blend_func_extended = !driQueryOptionb(&intel->optionCache, "disable_blend_func_extended");
       ctx->Extensions.ARB_draw_buffers_blend = true;
       ctx->Extensions.ARB_uniform_buffer_object = true;
+      ctx->Extensions.ARB_texture_cube_map_array = true;
 
       if (ctx->API == API_OPENGL_CORE) {
          ctx->Extensions.ARB_texture_buffer_object = true;
-- 
1.8.0.1



More information about the mesa-dev mailing list