aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Barbour <tony@LunarG.com>2015-04-29 16:23:52 -0600
committerTony Barbour <tony@LunarG.com>2015-04-29 16:48:04 -0600
commita5580f0b3504346cdfafc4666d69743bde92f768 (patch)
tree4672d1cb6126e75b50bf37a4633b4488d5344c34
parent3dddd5deff8a8bca6606b10d503bad55ec318d9b (diff)
downloadusermoji-a5580f0b3504346cdfafc4666d69743bde92f768.tar.xz
layers: Add another routine to the list that don't need use counts
-rwxr-xr-xvk-layer-generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vk-layer-generate.py b/vk-layer-generate.py
index bd4776b7..1e419cda 100755
--- a/vk-layer-generate.py
+++ b/vk-layer-generate.py
@@ -1136,7 +1136,7 @@ class ObjectTrackerSubcommand(Subcommand):
destroy_line = ''
funcs = []
# Special cases for API funcs that don't use an object as first arg
- if True in [no_use_proto in proto.name for no_use_proto in ['GlobalOption', 'CreateInstance', 'QueueSubmit', 'QueueAddMemReferences', 'QueueRemoveMemReferences', 'QueueWaitIdle', 'QueueBindObjectMemory', 'QueueBindObjectMemoryRange', 'QueueBindImageMemoryRange', 'QueuePresentWSI', 'GetGlobalExtensionInfo', 'CreateDevice', 'GetGpuInfo', 'QueueSignalSemaphore', 'QueueWaitSemaphore']]:
+ if True in [no_use_proto in proto.name for no_use_proto in ['GlobalOption', 'GetPhysicalDeviceInfo', 'CreateInstance', 'QueueSubmit', 'QueueAddMemReferences', 'QueueRemoveMemReferences', 'QueueWaitIdle', 'QueueBindObjectMemory', 'QueueBindObjectMemoryRange', 'QueueBindImageMemoryRange', 'QueuePresentWSI', 'GetGlobalExtensionInfo', 'CreateDevice', 'GetGpuInfo', 'QueueSignalSemaphore', 'QueueWaitSemaphore']]:
using_line = ''
else:
using_line = ' loader_platform_thread_lock_mutex(&objLock);\n'