mesa/glthread: print out syncs when MARSHAL_MAX_CMD_SIZE is exceeded

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Timothy Arceri
2017-03-29 13:20:36 +11:00
parent 9aba81b160
commit 1ea73b9c61
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -91,6 +91,7 @@ class PrintCode(gl_XML.gl_print_base):
def print_sync_dispatch(self, func):
out('_mesa_glthread_finish(ctx);')
out('debug_print_sync_fallback("{0}");'.format(func.name))
self.print_sync_call(func)
def print_sync_body(self, func):