summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/gl_marshal.py
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-29 13:20:36 +1100
committerTimothy Arceri <[email protected]>2017-03-30 08:19:07 +1100
commit1ea73b9c61e576cfeb33dda39847e6dc9d8099c2 (patch)
tree4c123ef3999e746ab3ad47a163cde700aab0bd57 /src/mapi/glapi/gen/gl_marshal.py
parent9aba81b1609c6f7b61125ca915291c83a511d5bd (diff)
mesa/glthread: print out syncs when MARSHAL_MAX_CMD_SIZE is exceeded
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen/gl_marshal.py')
-rw-r--r--src/mapi/glapi/gen/gl_marshal.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/gl_marshal.py b/src/mapi/glapi/gen/gl_marshal.py
index c89d3970c20..9639f9cdb9e 100644
--- a/src/mapi/glapi/gen/gl_marshal.py
+++ b/src/mapi/glapi/gen/gl_marshal.py
@@ -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):