diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2015-04-14 14:09:32 -0500 |
|---|---|---|
| committer | Chia-I Wu <olv@lunarg.com> | 2015-04-16 17:48:20 +0800 |
| commit | 998ed78fbf10b02f6274b796415af49ed76f624d (patch) | |
| tree | 538cc5fe6c1de57aefed178d7c619a2fa175a0ec /layers/mem_tracker.cpp | |
| parent | 20d02ac61329a65c72057ee94bab23fc0548487f (diff) | |
| download | usermoji-998ed78fbf10b02f6274b796415af49ed76f624d.tar.xz | |
layers: MemTracker error message fixes
Missed a couple of error message renaming changes necessary for layer
validation tests.
Diffstat (limited to 'layers/mem_tracker.cpp')
| -rw-r--r-- | layers/mem_tracker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/mem_tracker.cpp b/layers/mem_tracker.cpp index fe486333..1ea4f69c 100644 --- a/layers/mem_tracker.cpp +++ b/layers/mem_tracker.cpp @@ -1233,7 +1233,7 @@ VK_LAYER_EXPORT VkResult VKAPI vkResetFences(VkDevice device, uint32_t fenceCoun // Validate fences in SIGNALED state if (!(pObjectInfo->create_info.fence_create_info.flags & VK_FENCE_CREATE_SIGNALED_BIT)) { char str[1024]; - sprintf(str, "Fence %p submitted to xglResetFences in UNSIGNALED STATE", pFences[i]); + sprintf(str, "Fence %p submitted to VkResetFences in UNSIGNALED STATE", pFences[i]); layerCbMsg(VK_DBG_MSG_ERROR, VK_VALIDATION_LEVEL_0, pFences[i], 0, MEMTRACK_INVALID_FENCE_STATE, "MEM", str); result = VK_ERROR_INVALID_VALUE; } @@ -1267,7 +1267,7 @@ VK_LAYER_EXPORT VkResult VKAPI vkWaitForFences(VkDevice device, uint32_t fenceCo if (pObjectInfo != NULL) { if (pObjectInfo->create_info.fence_create_info.flags & VK_FENCE_CREATE_SIGNALED_BIT) { char str[1024]; - sprintf(str, "xglWaitForFences specified fence %p already in SIGNALED state.", pFences[i]); + sprintf(str, "VkWaitForFences specified fence %p already in SIGNALED state.", pFences[i]); layerCbMsg(VK_DBG_MSG_WARNING, VK_VALIDATION_LEVEL_0, pFences[i], 0, MEMTRACK_INVALID_FENCE_STATE, "MEM", str); } } |
