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

Chris Forbes chrisf at ijw.co.nz
Tue Nov 12 01:16:51 PST 2013


Relnotes change will need to go into 10.1; will fix when this lands.

On Sat, Nov 9, 2013 at 10:02 PM, Chris Forbes <chrisf at ijw.co.nz> wrote:
> .. 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 a8cffab..5e24755 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 eabe77f..c6536e7 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 62c0b15..bc4b6dc 100644
> --- a/src/mesa/drivers/dri/i965/intel_extensions.c
> +++ b/src/mesa/drivers/dri/i965/intel_extensions.c
> @@ -231,6 +231,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