aboutsummaryrefslogtreecommitdiff
path: root/layers/vk_layer_table.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobin@lunarg.com>2015-07-06 14:02:36 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-17 10:05:18 -0600
commitd415ac33cf0851d99cf35fb99b87dc297a01df66 (patch)
treefd312132ddf0abad54b57fb8dac8194701df5cf1 /layers/vk_layer_table.cpp
parent57ac630041f270fdcf0027268a964c41ba6c1124 (diff)
downloadusermoji-d415ac33cf0851d99cf35fb99b87dc297a01df66.tar.xz
layers: Layer updates to get helpers compiling with type safety changes
Diffstat (limited to 'layers/vk_layer_table.cpp')
-rw-r--r--layers/vk_layer_table.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/layers/vk_layer_table.cpp b/layers/vk_layer_table.cpp
index 5fbec8ae..5dca1c75 100644
--- a/layers/vk_layer_table.cpp
+++ b/layers/vk_layer_table.cpp
@@ -32,7 +32,7 @@ static instance_table_map tableInstanceMap;
#define DISPATCH_MAP_DEBUG 0
// Map lookup must be thread safe
-VkLayerDispatchTable *device_dispatch_table(VkObject object)
+VkLayerDispatchTable *device_dispatch_table(void* object)
{
dispatch_key key = get_dispatch_key(object);
device_table_map::const_iterator it = tableMap.find((void *) key);
@@ -40,7 +40,7 @@ VkLayerDispatchTable *device_dispatch_table(VkObject object)
return it->second;
}
-VkLayerInstanceDispatchTable *instance_dispatch_table(VkObject object)
+VkLayerInstanceDispatchTable *instance_dispatch_table(void* object)
{
dispatch_key key = get_dispatch_key(object);
instance_table_map::const_iterator it = tableInstanceMap.find((void *) key);
@@ -93,7 +93,7 @@ void destroy_instance_dispatch_table(dispatch_key key)
destroy_dispatch_table(tableInstanceMap, key);
}
-VkLayerDispatchTable *get_dispatch_table(device_table_map &map, VkObject object)
+VkLayerDispatchTable *get_dispatch_table(device_table_map &map, void* object)
{
dispatch_key key = get_dispatch_key(object);
device_table_map::const_iterator it = map.find((void *) key);
@@ -108,7 +108,7 @@ VkLayerDispatchTable *get_dispatch_table(device_table_map &map, VkObject object)
return it->second;
}
-VkLayerInstanceDispatchTable *get_dispatch_table(instance_table_map &map, VkObject object)
+VkLayerInstanceDispatchTable *get_dispatch_table(instance_table_map &map, void* object)
{
// VkLayerInstanceDispatchTable *pDisp = *(VkLayerInstanceDispatchTable **) object;
dispatch_key key = get_dispatch_key(object);