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

Chris Forbes chrisf at ijw.co.nz
Wed Nov 6 23:06:24 PST 2013


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

V2: Enable only if pipelined register writes work.
V3: Also update relnotes

Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
---
 docs/GL3.txt                                 | 4 ++--
 docs/relnotes/10.0.html                      | 1 +
 src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/GL3.txt b/docs/GL3.txt
index 7d100df..2e7f5fe 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, radeonsi, 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                                DONE (i965)
@@ -151,7 +151,7 @@ GL_ARB_fragment_layer_viewport                       not started
 GL_ARB_framebuffer_no_attachments                    not started
 GL_ARB_internalformat_query2                         not started
 GL_ARB_invalidate_subdata                            DONE (all drivers)
-GL_ARB_multi_draw_indirect                           not started
+GL_ARB_multi_draw_indirect                           DONE (i965)
 GL_ARB_program_interface_query                       not started
 GL_ARB_robust_buffer_access_behavior                 not started
 GL_ARB_shader_image_size                             not started
diff --git a/docs/relnotes/10.0.html b/docs/relnotes/10.0.html
index b74d03d..ea5908e 100644
--- a/docs/relnotes/10.0.html
+++ b/docs/relnotes/10.0.html
@@ -46,6 +46,7 @@ Note: some of the new features are only available with certain drivers.
 <ul>
 <li>GL_AMD_seamless_cubemap_per_texture on i965.</li>
 <li>GL_ARB_conservative_depth on i965.</li>
+<li>GL_ARB_draw_indirect on i965.</li>
 <li>GL_ARB_texture_gather on i965.</li>
 <li>GL_ARB_texture_query_levels on i965.</li>
 <li>GL_ARB_texture_mirror_clamp_to_edge.</li>
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