summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2016-04-03 02:44:50 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2016-04-03 20:40:55 -0400
commitd76e1cd2dd24d0807a8db78fb6f7ebfeb50f22b4 (patch)
treee5ac81906563772871bebf39f9169b44b8dfdfc3 /src/mapi
parent807e2c27ac03718df8f53c2f28686dfed4c12677 (diff)
mesa: expose EXT_base_instance in ES3 contexts
This extension is identical to ARB_base_instance. Reuse the same entrypoints. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/es_EXT.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index 3b2c15ebf5..bf67eae40d 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -924,6 +924,40 @@
</category>
+<category name="GL_EXT_base_instance" number="203">
+
+ <function name="DrawArraysInstancedBaseInstanceEXT" es2="3.0"
+ alias="DrawArraysInstancedBaseInstance">
+ <param name="mode" type="GLenum"/>
+ <param name="first" type="GLint"/>
+ <param name="count" type="GLsizei"/>
+ <param name="instancecount" type="GLsizei"/>
+ <param name="baseinstance" type="GLuint"/>
+ </function>
+
+ <function name="DrawElementsInstancedBaseInstanceEXT" es2="3.0"
+ alias="DrawElementsInstancedBaseInstance">
+ <param name="mode" type="GLenum"/>
+ <param name="count" type="GLsizei"/>
+ <param name="type" type="GLenum"/>
+ <param name="indices" type="const GLvoid *"/>
+ <param name="instancecount" type="GLsizei"/>
+ <param name="baseinstance" type="GLuint"/>
+ </function>
+
+ <function name="DrawElementsInstancedBaseVertexBaseInstanceEXT" es2="3.0"
+ alias="DrawElementsInstancedBaseVertexBaseInstance">
+ <param name="mode" type="GLenum"/>
+ <param name="count" type="GLsizei"/>
+ <param name="type" type="GLenum"/>
+ <param name="indices" type="const GLvoid *"/>
+ <param name="instancecount" type="GLsizei"/>
+ <param name="basevertex" type="GLint"/>
+ <param name="baseinstance" type="GLuint"/>
+ </function>
+
+</category>
+
<category name="GL_EXT_draw_elements_base_vertex" number="204">
<function name="DrawElementsBaseVertexEXT" alias="DrawElementsBaseVertex"