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

Chris Forbes chrisf at ijw.co.nz
Thu Nov 22 04:35:39 PST 2012


Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
---
 docs/GL3.txt                                  | 2 +-
 src/mesa/drivers/dri/intel/intel_extensions.c | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/docs/GL3.txt b/docs/GL3.txt
index aebba0b..5d6c451 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 34701ba..33081a4 100755
--- a/src/mesa/drivers/dri/intel/intel_extensions.c
+++ b/src/mesa/drivers/dri/intel/intel_extensions.c
@@ -116,6 +116,9 @@ intelInitExtensions(struct gl_context *ctx)
       }
    }
 
+   if (intel->gen >= 6)
+      ctx->Extensions.ARB_texture_cube_map_array = true;
+
    if (intel->gen >= 5)
       ctx->Extensions.EXT_timer_query = true;
 
-- 
1.8.0



More information about the mesa-dev mailing list