diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2015-11-12 10:11:21 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2015-11-12 10:14:35 -0700 |
| commit | 1382f6e580a019ef1d0be69a276bf6ab91e21f68 (patch) | |
| tree | fc9be2d64eab5fdbfb3a8cea54bc4ef48df58a91 /layers/mem_tracker.cpp | |
| parent | a61a320e85e7679457e295644f7c1e4f451a5d84 (diff) | |
| download | usermoji-1382f6e580a019ef1d0be69a276bf6ab91e21f68.tar.xz | |
layers: LX194, Change 'fence already signaled' warning to INFO-level
Diffstat (limited to 'layers/mem_tracker.cpp')
| -rw-r--r-- | layers/mem_tracker.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layers/mem_tracker.cpp b/layers/mem_tracker.cpp index aeeda454..bc901cc2 100644 --- a/layers/mem_tracker.cpp +++ b/layers/mem_tracker.cpp @@ -1653,7 +1653,9 @@ static inline VkBool32 verifyFenceStatus(VkDevice device, VkFence fence, const c auto pFenceInfo = my_data->fenceMap.find(fence); if (pFenceInfo != my_data->fenceMap.end()) { if (pFenceInfo->second.createInfo.flags & VK_FENCE_CREATE_SIGNALED_BIT) { - skipCall |= log_msg(my_data->report_data, VK_DBG_REPORT_WARN_BIT, VK_OBJECT_TYPE_FENCE, (uint64_t) fence, 0, MEMTRACK_INVALID_FENCE_STATE, "MEM", + // TODO: Possibly move this to a lower-level warning if we ever add, say, a VERBOSE warning option. There are too many + // cases where ISVs want to be able to do this to make it a normal warning or perf-warning. + skipCall |= log_msg(my_data->report_data, VK_DBG_REPORT_INFO_BIT, VK_OBJECT_TYPE_FENCE, (uint64_t) fence, 0, MEMTRACK_INVALID_FENCE_STATE, "MEM", "%s specified fence %#" PRIxLEAST64 " already in SIGNALED state.", apiCall, (uint64_t) fence); } if (!pFenceInfo->second.queue) { // Checking status of unsubmitted fence |
