i965: Enable ARB_draw_indirect (and ARB_multi_draw_indirect) on Gen7+
authorChris Forbes <chrisf@ijw.co.nz>
Mon, 30 Sep 2013 08:16:40 +0000 (21:16 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Mon, 25 Nov 2013 09:01:36 +0000 (22:01 +1300)
.. 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@ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
docs/GL3.txt
docs/relnotes/10.1.html
src/mesa/drivers/dri/i965/intel_extensions.c

index 5f6fa7e80e963dbf0bf9a9b9f7f76816da6848ff..059ae9840403a4623a0d27382658fe241c3ce499 100644 (file)
@@ -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 4.3:
   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
index 55d810f313bd02986c4892f5273ee01857851eee..1b8ea22f8ec61bc6496c7c00a8ceb84c8aeb9c47 100644 (file)
@@ -44,6 +44,7 @@ Note: some of the new features are only available with certain drivers.
 </p>
 
 <ul>
+<li>GL_ARB_draw_indirect on i965.</li>
 </ul>
 
 
index c75892ebc9ad3e9796853a99aa0c2ad298cdc52e..ab27d43ca8388be3c688c92ab285e60fffdbf34d 100644 (file)
@@ -290,6 +290,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;
       }
    }