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:
ca643b9
)
layers: No assert on init instance table map.size != 1
author
Jon Ashburn
<jon@lunarg.com>
Wed, 16 Sep 2015 23:27:31 +0000
(17:27 -0600)
committer
Jon Ashburn
<jon@lunarg.com>
Thu, 17 Sep 2015 21:29:28 +0000
(15:29 -0600)
Instance table map can have more than one entry if multiple instances.
layers/vk_layer_table.cpp
patch
|
blob
|
history
diff --git
a/layers/vk_layer_table.cpp
b/layers/vk_layer_table.cpp
index 5dca1c750235d60bb74a2d7020c1438ac5efe8fa..cbe80bed3fd268639474b055f8468deebe1a9d5f 100644
(file)
--- a/
layers/vk_layer_table.cpp
+++ b/
layers/vk_layer_table.cpp
@@
-145,7
+145,6
@@
VkLayerInstanceDispatchTable * initInstanceTable(instance_table_map &map, const
#if DISPATCH_MAP_DEBUG
fprintf(stderr, "New, Instance: map: %p, base object: %p, key: %p, table: %p\n", &map, instancew, *ppDisp, pTable);
#endif
- assert(map.size() <= 1 && "Instance dispatch table map has more than one entry");
} else
{
#if DISPATCH_MAP_DEBUG