aboutsummaryrefslogtreecommitdiff
path: root/scripts/threading_generator.py
diff options
context:
space:
mode:
authorMark Young <marky@lunarg.com>2017-11-09 10:37:04 -0700
committerMike Schuchardt <mikes@lunarg.com>2018-03-09 13:54:31 -0700
commit4df1d6e03c91637d89d70339674deaece0d7641e (patch)
tree274058c2d30cad6b10da6fe6e994da3f22521750 /scripts/threading_generator.py
parent9a6be7a671252c15a6b632568cc3f05631f8ef6f (diff)
downloadusermoji-4df1d6e03c91637d89d70339674deaece0d7641e.tar.xz
Implement initial VK_EXT_debug_utils changes
This affects the loader, scripts, and layers and introduces the changes to support the VK_EXT_debug_utils extension. Change-Id: Ia5336f63e85b00f1e59416c06aacd4ae331fd692
Diffstat (limited to 'scripts/threading_generator.py')
-rw-r--r--scripts/threading_generator.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/threading_generator.py b/scripts/threading_generator.py
index fd88909c..4ac65d67 100644
--- a/scripts/threading_generator.py
+++ b/scripts/threading_generator.py
@@ -384,6 +384,8 @@ class ThreadOutputGenerator(OutputGenerator):
'vkEnumerateInstanceExtensionProperties',
'vkEnumerateDeviceLayerProperties',
'vkEnumerateDeviceExtensionProperties',
+ 'vkCreateDebugUtilsMessengerEXT',
+ 'vkDestroyDebugUtilsMessengerEXT',
]
if name in special_functions:
decls = self.makeCDecls(cmdinfo.elem)
@@ -392,7 +394,7 @@ class ThreadOutputGenerator(OutputGenerator):
self.appendSection('command', decls[0])
self.intercepts += [ ' {"%s", (void*)%s},' % (name,name[2:]) ]
return
- if "QueuePresentKHR" in name or ("DebugMarker" in name and "EXT" in name):
+ if "QueuePresentKHR" in name or (("DebugMarker" in name or "DebugUtilsObject" in name) and "EXT" in name):
self.appendSection('command', '// TODO - not wrapping EXT function ' + name)
return
# Determine first if this function needs to be intercepted