projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec40bc1
)
layers: Add return value for Generic vkCreateInstance() function
author
Tobin Ehlis
<tobin@lunarg.com>
Thu, 17 Sep 2015 22:27:04 +0000
(16:27 -0600)
committer
Tobin Ehlis
<tobin@lunarg.com>
Thu, 17 Sep 2015 22:27:04 +0000
(16:27 -0600)
vk-layer-generate.py
patch
|
blob
|
history
diff --git
a/vk-layer-generate.py
b/vk-layer-generate.py
index 93fca3a49d43fdf5f8757e17938c472763106258..26873d45b3602c8652f58e388dc55f65ff39c03d 100755
(executable)
--- a/
vk-layer-generate.py
+++ b/
vk-layer-generate.py
@@
-673,6
+673,7
@@
class GenericLayerSubcommand(Subcommand):
' if (result == VK_SUCCESS) {\n'
' createInstanceRegisterExtensions(pCreateInfo, *pInstance);\n'
' }\n'
+ ' return result;\n'
'}\n' % (qual, decl, ret_val, proto.c_call()))
else:
funcs.append('%s' % self.lineinfo.get())