From e6a0eca45e5f760656542035b25238a9d5dfdbd0 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 30 Sep 2013 21:16:40 +1300 Subject: [PATCH] i965: Enable ARB_draw_indirect (and ARB_multi_draw_indirect) on Gen7+ .. 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 Reviewed-by: Ian Romanick Reviewed-by: Eric Anholt --- docs/GL3.txt | 4 ++-- docs/relnotes/10.1.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 5f6fa7e80e9..059ae984040 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 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 diff --git a/docs/relnotes/10.1.html b/docs/relnotes/10.1.html index 55d810f313b..1b8ea22f8ec 100644 --- a/docs/relnotes/10.1.html +++ b/docs/relnotes/10.1.html @@ -44,6 +44,7 @@ Note: some of the new features are only available with certain drivers.

    +
  • GL_ARB_draw_indirect on i965.
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index c75892ebc9a..ab27d43ca83 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -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; } } -- 2.30.2