-
Notifications
You must be signed in to change notification settings - Fork 1
/
0022-GL_EXT_multi_draw_indirect-entry-points.patch
53 lines (47 loc) · 1.85 KB
/
0022-GL_EXT_multi_draw_indirect-entry-points.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
From b199274c7c1477bf85fc19659fd659d46d837b8e Mon Sep 17 00:00:00 2001
From: Brendan King <[email protected]>
Date: Tue, 30 Jan 2018 10:25:11 +0000
Subject: [PATCH] GL_EXT_multi_draw_indirect entry points
---
src/mapi/glapi/gen/es_EXT.xml | 19 +++++++++++++++++++
src/mapi/glapi/gen/static_data.py | 2 ++
2 files changed, 21 insertions(+)
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index b59e85d..6ff5432 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -1140,6 +1140,25 @@
</category>
+<category name="GL_EXT_multi_draw_indirect" number="205">
+
+ <function name="MultiDrawArraysIndirectEXT" es2="3.1" exec="dynamic">
+ <param name="mode" type="GLenum"/>
+ <param name="indirect" type="const GLvoid *"/>
+ <param name="drawcount" type="GLsizei"/>
+ <param name="stride" type="GLsizei"/>
+ </function>
+
+ <function name="MultiDrawElementsIndirectEXT" es2="3.1" exec="dynamic">
+ <param name="mode" type="GLenum"/>
+ <param name="type" type="GLenum"/>
+ <param name="indirect" type="const GLvoid *"/>
+ <param name="drawcount" type="GLsizei"/>
+ <param name="stride" type="GLsizei"/>
+ </function>
+
+</category>
+
<category name="GL_EXT_copy_image" number="208">
<function name="CopyImageSubDataEXT" alias="CopyImageSubData" es2="3.0">
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index fda952a..53f381e 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1705,6 +1705,8 @@ offsets = {
"FramebufferTextureLayerDownsampleIMG" : 1669,
"FramebufferTextureMultiviewOVR" : 1670,
"FramebufferTextureMultisampleMultiviewOVR" : 1671,
+ "MultiDrawArraysIndirectEXT" : 1672,
+ "MultiDrawElementsIndirectEXT" : 1673,
}
functions = [