summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2017-02-28 15:09:31 -0700
committerMark Lobodzinski <mark@lunarg.com>2017-02-28 15:09:31 -0700
commita00917b8295326a0c0501aefe5ab4c12a501a4c5 (patch)
tree8d7046ec65d005e98c098fb97bb8b70d193544d2 /scripts
parenteb6ea7587bdc06e98a89398f113fe3610d270dcb (diff)
layers: Special-case threading GetSwapchainImages
This API is a special-case for the code-gen in that it sometimes returns an array of images. These do not need to be counted by start/finishReadObject and so were moved into the non-generated part of the layer source. Change-Id: Iaaab9143abadbf025b5f3c118aa26dae3c6f1bec
Diffstat (limited to 'scripts')
-rw-r--r--scripts/threading_generator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/threading_generator.py b/scripts/threading_generator.py
index fc9174bf..97d7df00 100644
--- a/scripts/threading_generator.py
+++ b/scripts/threading_generator.py
@@ -383,6 +383,7 @@ class ThreadOutputGenerator(OutputGenerator):
'vkCreateDebugReportCallbackEXT',
'vkDestroyDebugReportCallbackEXT',
'vkAllocateDescriptorSets',
+ 'vkGetSwapchainImagesKHR',
]
if name in special_functions:
decls = self.makeCDecls(cmdinfo.elem)