[Mesa-dev] [PATCH 11/11] i965: Enable ARB_draw_indirect (and ARB_multi_draw_indirect) on Gen7+

Chris Forbes chrisf at ijw.co.nz
Mon Nov 4 01:09:52 PST 2013


.. and mark them off on the extensions list as done.

V2: Enable only if pipelined register writes work.

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

diff --git a/docs/GL3.txt b/docs/GL3.txt
index ff28ea6..5ac9e5e 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@ -97,7 +97,7 @@ GL 4.0:
 GLSL 4.0                                             not started
 GL_ARB_texture_query_lod                             DONE (i965)
 GL_ARB_draw_buffers_blend                            DONE (i965, r600, softpipe)
-GL_ARB_draw_indirect                                 started (Christoph)
+GL_ARB_draw_indirect                                 DONE (i965)
 GL_ARB_gpu_shader5                                   started
 GL_ARB_gpu_shader_fp64                               not started
 GL_ARB_sample_shading                                started (Anuj)
@@ -151,7 +151,7 @@ ARB_fragment_layer_viewport                          not started
 ARB_framebuffer_no_attachments                       not started
 ARB_internalformat_query2                            not started
 ARB_invalidate_subdata                               not started
-ARB_multi_draw_indirect                              not started
+ARB_multi_draw_indirect                              DONE (i965)
 ARB_program_interface_query                          not started
 ARB_robust_buffer_access_behavior                    not started
 ARB_shader_image_size                                not started
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 5eae84f..e0ed778 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -233,6 +233,7 @@ intelInitExtensions(struct gl_context *ctx)
          ctx->Extensions.ARB_transform_feedback2 = true;
          ctx->Extensions.ARB_transform_feedback3 = true;
          ctx->Extensions.ARB_transform_feedback_instanced = true;
+         ctx->Extensions.ARB_draw_indirect = true;
       }
    }
 
-- 
1.8.4.2



More information about the mesa-dev mailing list