diff options
| author | Mark Mueller <markm@lunarg.com> | 2016-05-03 13:17:29 -0600 |
|---|---|---|
| committer | Mark Mueller <markm@lunarg.com> | 2016-05-11 09:00:24 -0600 |
| commit | db6a8d55264aa3eaf2a6ecf14734263fb74c6a80 (patch) | |
| tree | f2eaec728a4dec617901a07cc30e2b5b7c7e4a48 /layers/object_tracker.h | |
| parent | 26ae872195bd882dfb6766608d0a91f7273546fb (diff) | |
| download | usermoji-db6a8d55264aa3eaf2a6ecf14734263fb74c6a80.tar.xz | |
layers:LX#470 Fix poor use of hex vs dec output
1) Introduce convention of explicitly placing "0x" before hex
format requests for clarity (don't use "%#")
2) All lower case in hex output (except w/stringstream which refuses
to do anything but uppercase, possibly only on windows).
3) Decorated pointers are printed for all Vulkan structure types.
3) Some intelligence in generators based on Vulkan variable name:
if the Vulkan variable name contains ("flag", "bit", "offset",
"handle", "buffer", "object", "mask") it will be output in
hexadecimal format
4) Remove "using namespace std;" from global scope of vk_struct_string_helper_cpp.h
Change-Id: Idbae73bfdaa3bc059543d43b209373cd0bcbc099
Diffstat (limited to 'layers/object_tracker.h')
| -rw-r--r-- | layers/object_tracker.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/object_tracker.h b/layers/object_tracker.h index 9f9f3e26..ee37d4fa 100644 --- a/layers/object_tracker.h +++ b/layers/object_tracker.h @@ -392,7 +392,7 @@ static void destroy_surface_khr(VkInstance dispatchable_object, VkSurfaceKHR obj numObjs[objIndex]--; log_msg(mdd(dispatchable_object), VK_DEBUG_REPORT_INFORMATION_BIT_EXT, pNode->objType, object_handle, __LINE__, OBJTRACK_NONE, "OBJTRACK", - "OBJ_STAT Destroy %s obj 0x%" PRIxLEAST64 " (%" PRIu64 " total objs remain & %" PRIu64 " %s objs).", + "OBJ_STAT Destroy %s obj 0x%" PRIxLEAST64 " (0x%" PRIx64 " total objs remain & 0x%" PRIx64 " %s objs).", string_VkDebugReportObjectTypeEXT(pNode->objType), (uint64_t)(object), numTotalObjs, numObjs[objIndex], string_VkDebugReportObjectTypeEXT(pNode->objType)); delete pNode; |
