MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / get_dispatch_table

Function get_dispatch_table

layersvt/vk_layer_table.cpp:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63void destroy_instance_dispatch_table(dispatch_key key) { destroy_dispatch_table(tableInstanceMap, key); }
64
65VkuDeviceDispatchTable *get_dispatch_table(device_table_map &map, void *object) {
66 dispatch_key key = get_dispatch_key(object);
67 device_table_map::const_iterator it = map.find((void *)key);
68 assert(it != map.end() && "Not able to find device dispatch entry");
69 return it->second;
70}
71
72VkuInstanceDispatchTable *get_dispatch_table(instance_table_map &map, void *object) {
73 dispatch_key key = get_dispatch_key(object);

Callers

nothing calls this directly

Calls 1

get_dispatch_keyFunction · 0.85

Tested by

no test coverage detected