glthread: add GL_DRAW_INDIRECT_BUFFER tracking and generator support

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
This commit is contained in:
Marek Olšák
2020-02-19 16:54:45 -05:00
committed by Marge Bot
parent 30b6e82364
commit fb95a4693f
4 changed files with 26 additions and 1 deletions
+3 -1
View File
@@ -77,7 +77,9 @@ class marshal_function(gl_XML.gl_function):
for p in self.parameters:
if p.is_output:
return 'sync'
if p.is_pointer() and not (p.count or p.counter) and not (self.marshal == 'draw' and p.name == 'indices'):
if (p.is_pointer() and not (p.count or p.counter)
and not (self.marshal == 'draw'
and (p.name == 'indices' or p.name == 'indirect'))):
return 'sync'
if p.count_parameter_list:
# Parameter size is determined by enums; haven't