mesa: expose AMD_multi_draw_indirect
authorMarek Olšák <marek.olsak@amd.com>
Mon, 6 Aug 2018 05:55:59 +0000 (01:55 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 24 Aug 2018 04:36:18 +0000 (00:36 -0400)
because the closed driver exposes it.
This is equivalent to the ARB extension.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
docs/relnotes/18.3.0.html
src/mapi/glapi/gen/ARB_draw_indirect.xml
src/mesa/main/extensions_table.h

index 840a336d41a51ee4238fdb11ffde677cae8a42e3..cf3bb80ceae012b93a5c93bc993834a44bd6bd45 100644 (file)
@@ -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>
 
index 3b29d6b867425214e8af4e7f45b57fca78e07be4..b4399f1e8b658a0e65aa82dbe2527931b2e7cd01 100644 (file)
 </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>
index b338963ba48bbc7ac52d1d4c1d29a63f0a65742e..69d7b3a59cf34905d2eff3fd949f3dfee5cb7c07 100644 (file)
@@ -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)