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:
025f39a
)
layers: Remove object map before vkDestroy*
author
Mike Stroyan
<mike@LunarG.com>
Mon, 28 Sep 2015 19:47:29 +0000
(13:47 -0600)
committer
Mike Stroyan
<mike@LunarG.com>
Mon, 28 Sep 2015 19:49:39 +0000
(13:49 -0600)
Don't use object as dispatchable after destroy.
vk-layer-generate.py
patch
|
blob
|
history
diff --git
a/vk-layer-generate.py
b/vk-layer-generate.py
index bec7d6cf44d2a9e5026dca487e0d4868e1ebc00d..857249f10db636caf3b1d3c2c651c2765b0a310a 100755
(executable)
--- a/
vk-layer-generate.py
+++ b/
vk-layer-generate.py
@@
-1625,10
+1625,11
@@
class ObjectTrackerSubcommand(Subcommand):
funcs.append('%s%s\n'
'{\n'
'%s'
+ '%s'
' %sget_dispatch_table(ObjectTracker_%s_table_map, %s)->%s;\n'
- '%s%s'
'%s'
- '}' % (qual, decl, using_line, ret_val, table_type, dispatch_param, proto.c_call(), create_line, destroy_line, stmt))
+ '%s'
+ '}' % (qual, decl, using_line, destroy_line, ret_val, table_type, dispatch_param, proto.c_call(), create_line, stmt))
return "\n\n".join(funcs)
def generate_body(self):