MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Profiles / instance_dispatch_table

Function instance_dispatch_table

layer/vk_layer_table.cpp:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41VkuInstanceDispatchTable *instance_dispatch_table(void *object) {
42 dispatch_key key = get_dispatch_key(object);
43 instance_table_map::const_iterator it = tableInstanceMap.find((void *)key);
44 assert(it != tableInstanceMap.end() && "Not able to find instance dispatch entry");
45 return it->second.get();
46}
47
48void destroy_dispatch_table(device_table_map &map, dispatch_key key) {
49 device_table_map::const_iterator it = map.find((void *)key);

Callers

nothing calls this directly

Calls 1

get_dispatch_keyFunction · 0.85

Tested by

no test coverage detected