[Mesa-dev] [PATCH V3 7/7] i965: enable ARB_vertex_type_2_10_10_10_rev

Chris Forbes chrisf at ijw.co.nz
Wed Nov 21 19:23:25 PST 2012


Enabled on Gen4+.

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 9b87e8b..aebba0b 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@ -81,7 +81,7 @@ GL_ARB_texture_rgb10_a2ui                             DONE (i965, r600)
 GL_ARB_texture_swizzle                                DONE (same as EXT version) (i965, r300, r600, swrast)
 GL_ARB_timer_query                                    DONE (i965)
 GL_ARB_instanced_arrays                               DONE (i965, r300, r600)
-GL_ARB_vertex_type_2_10_10_10_rev                     DONE (r600)
+GL_ARB_vertex_type_2_10_10_10_rev                     DONE (i965, r600)
 
 
 GL 4.0:
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c
index 702e40f..34701ba 100755
--- a/src/mesa/drivers/dri/intel/intel_extensions.c
+++ b/src/mesa/drivers/dri/intel/intel_extensions.c
@@ -89,6 +89,9 @@ intelInitExtensions(struct gl_context *ctx)
    ctx->Extensions.OES_compressed_ETC1_RGB8_texture = true;
    ctx->Extensions.ARB_texture_rgb10_a2ui = true;
 
+   if (intel->gen >= 4)
+       ctx->Extensions.ARB_vertex_type_2_10_10_10_rev = true;
+
    if (intel->gen >= 6)
       if (ctx->API == API_OPENGL_CORE) {
          ctx->Const.GLSLVersion = 140;
-- 
1.8.0



More information about the mesa-dev mailing list