diff options
author | Marek Olšák <[email protected]> | 2018-08-06 01:55:59 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-08-24 00:36:18 -0400 |
commit | 056b9a5a36afc6051ea0d03a1900f01fb1f74a9b (patch) | |
tree | e64e5ec15f72352ce190da93eb6ffc5f28a9fc11 | |
parent | b3c17330e631695b5e5dc209ba9ea1a528618c97 (diff) |
mesa: expose AMD_multi_draw_indirect
because the closed driver exposes it.
This is equivalent to the ARB extension.
Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r-- | docs/relnotes/18.3.0.html | 1 | ||||
-rw-r--r-- | src/mapi/glapi/gen/ARB_draw_indirect.xml | 20 | ||||
-rw-r--r-- | src/mesa/main/extensions_table.h | 1 |
3 files changed, 22 insertions, 0 deletions
diff --git a/docs/relnotes/18.3.0.html b/docs/relnotes/18.3.0.html index 840a336d41a..cf3bb80ceae 100644 --- a/docs/relnotes/18.3.0.html +++ b/docs/relnotes/18.3.0.html @@ -53,6 +53,7 @@ Note: some of the new features are only available with certain drivers. <ul> <li>GL_AMD_framebuffer_multisample_advanced on radeonsi.</li> <li>GL_AMD_gpu_shader_int64 on i965, nvc0, radeonsi.</li> +<li>GL_AMD_multi_draw_indirect on all GL 4.x drivers.</li> <li>GL_EXT_window_rectangles on radeonsi.</li> </ul> diff --git a/src/mapi/glapi/gen/ARB_draw_indirect.xml b/src/mapi/glapi/gen/ARB_draw_indirect.xml index 3b29d6b8674..b4399f1e8b6 100644 --- a/src/mapi/glapi/gen/ARB_draw_indirect.xml +++ b/src/mapi/glapi/gen/ARB_draw_indirect.xml @@ -42,4 +42,24 @@ </category> +<category name="GL_AMD_multi_draw_indirect" number="408"> + + <function name="MultiDrawArraysIndirectAMD" exec="dynamic" alias="MultiDrawArraysIndirect"> + <param name="mode" type="GLenum"/> + <param name="indirect" type="const GLvoid *"/> + <param name="primcount" type="GLsizei"/> + <param name="stride" type="GLsizei"/> + </function> + + <function name="MultiDrawElementsIndirectAMD" exec="dynamic" alias="MultiDrawElementsIndirect"> + <param name="mode" type="GLenum"/> + <param name="type" type="GLenum"/> + <param name="indirect" type="const GLvoid *"/> + <param name="primcount" type="GLsizei"/> + <param name="stride" type="GLsizei"/> + </function> + +</category> + + </OpenGLAPI> diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h index b338963ba48..69d7b3a59cf 100644 --- a/src/mesa/main/extensions_table.h +++ b/src/mesa/main/extensions_table.h @@ -12,6 +12,7 @@ EXT(AMD_conservative_depth , ARB_conservative_depth EXT(AMD_draw_buffers_blend , ARB_draw_buffers_blend , GLL, GLC, x , x , 2009) EXT(AMD_framebuffer_multisample_advanced , AMD_framebuffer_multisample_advanced , GLL, GLC, x , ES2, 2018) EXT(AMD_gpu_shader_int64 , ARB_gpu_shader_int64 , x , GLC, x , x , 2015) +EXT(AMD_multi_draw_indirect , ARB_draw_indirect , GLL, GLC, x , x , 2011) EXT(AMD_performance_monitor , AMD_performance_monitor , GLL, GLC, x , ES2, 2007) EXT(AMD_pinned_memory , AMD_pinned_memory , GLL, GLC, x , x , 2013) EXT(AMD_seamless_cubemap_per_texture , AMD_seamless_cubemap_per_texture , GLL, GLC, x , x , 2009) |