diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2017-01-26 12:16:30 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2017-01-26 13:42:36 -0700 |
| commit | 2dbc2668169e3aa0920615f3d9078a904827ee25 (patch) | |
| tree | d1bbe0a79bd08b7583de761b34370ce8a024eb9b /layers/vk_layer_table.cpp | |
| parent | a5eea415de5d59186dcbd74f76a5bcdf8ffed8de (diff) | |
| download | usermoji-2dbc2668169e3aa0920615f3d9078a904827ee25.tar.xz | |
repo: Clang-format c/cpp/h LVL files using LLVM
Bring all source files in the repo up to date with consistent
coding style/standard.
Change-Id: Iceedbc17109974d3a0437fc4995441c9ad7e0c23
Diffstat (limited to 'layers/vk_layer_table.cpp')
| -rw-r--r-- | layers/vk_layer_table.cpp | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/layers/vk_layer_table.cpp b/layers/vk_layer_table.cpp index bc9062e7..fed66bf3 100644 --- a/layers/vk_layer_table.cpp +++ b/layers/vk_layer_table.cpp @@ -40,10 +40,11 @@ VkLayerInstanceDispatchTable *instance_dispatch_table(void *object) { instance_table_map::const_iterator it = tableInstanceMap.find((void *)key); #if DISPATCH_MAP_DEBUG if (it != tableInstanceMap.end()) { - fprintf(stderr, "instance_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: 0x%p\n", &tableInstanceMap, object, key, - it->second); + fprintf(stderr, "instance_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: 0x%p\n", &tableInstanceMap, object, + key, it->second); } else { - fprintf(stderr, "instance_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: UNKNOWN\n", &tableInstanceMap, object, key); + fprintf(stderr, "instance_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: UNKNOWN\n", &tableInstanceMap, + object, key); } #endif assert(it != tableInstanceMap.end() && "Not able to find instance dispatch entry"); @@ -85,10 +86,11 @@ VkLayerDispatchTable *get_dispatch_table(device_table_map &map, void *object) { device_table_map::const_iterator it = map.find((void *)key); #if DISPATCH_MAP_DEBUG if (it != map.end()) { - fprintf(stderr, "device_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: 0x%p\n", &tableInstanceMap, object, key, - it->second); + fprintf(stderr, "device_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: 0x%p\n", &tableInstanceMap, object, + key, it->second); } else { - fprintf(stderr, "device_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: UNKNOWN\n", &tableInstanceMap, object, key); + fprintf(stderr, "device_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: UNKNOWN\n", &tableInstanceMap, object, + key); } #endif assert(it != map.end() && "Not able to find device dispatch entry"); @@ -100,10 +102,11 @@ VkLayerInstanceDispatchTable *get_dispatch_table(instance_table_map &map, void * instance_table_map::const_iterator it = map.find((void *)key); #if DISPATCH_MAP_DEBUG if (it != map.end()) { - fprintf(stderr, "instance_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: 0x%p\n", &tableInstanceMap, object, key, - it->second); + fprintf(stderr, "instance_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: 0x%p\n", &tableInstanceMap, object, + key, it->second); } else { - fprintf(stderr, "instance_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: UNKNOWN\n", &tableInstanceMap, object, key); + fprintf(stderr, "instance_dispatch_table: map: 0x%p, object: 0x%p, key: 0x%p, table: UNKNOWN\n", &tableInstanceMap, + object, key); } #endif assert(it != map.end() && "Not able to find instance dispatch entry"); |
