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:
20a9be4
)
loader: Fix disptach table init for non-dispatchable functions
author
Jon Ashburn
<jon@lunarg.com>
Mon, 13 Apr 2015 23:47:29 +0000
(17:47 -0600)
committer
Chia-I Wu
<olv@lunarg.com>
Thu, 16 Apr 2015 09:48:20 +0000
(17:48 +0800)
vk-generate.py
patch
|
blob
|
history
diff --git
a/vk-generate.py
b/vk-generate.py
index
41ead48
..
29b9d17
100755
(executable)
--- a/
vk-generate.py
+++ b/
vk-generate.py
@@
-221,6
+221,9
@@
class DispatchTableOpsSubcommand(Subcommand):
elif self.is_dispatchable_object_first_param(proto):
stmts.append("table->%s = (PFN_vk%s) gpa(gpu, \"vk%s\");" %
(proto.name, proto.name, proto.name))
+ else:
+ stmts.append("table->%s = vk%s; /* non-dispatchable */" %
+ (proto.name, proto.name))
stmts.append("#endif")
func = []