diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-09-07 15:18:08 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-09-08 09:21:49 -0600 |
| commit | 38638a7c5cbb8b0235144b7d5ff67a157138bd30 (patch) | |
| tree | b4edd632514745fa404e7aad7c3063ee3fac5606 /layers/core_validation.cpp | |
| parent | 31d9f4a475cdff6bd6d0a08cacacea57fb733dfa (diff) | |
| download | usermoji-38638a7c5cbb8b0235144b7d5ff67a157138bd30.tar.xz | |
layers: Move in_use.store(0) to BASE_NODE constructor
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 1fb8197e..8b5e9f63 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -5969,7 +5969,6 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateQueryPool(VkDevice device, const VkQueryPoo std::lock_guard<std::mutex> lock(global_lock); QUERY_POOL_NODE *qp_node = &dev_data->queryPoolMap[*pQueryPool]; qp_node->createInfo = *pCreateInfo; - qp_node->in_use.store(0); } return result; } @@ -10961,7 +10960,6 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateSemaphore(VkDevice device, const VkSemaphor sNode->signaler.first = VK_NULL_HANDLE; sNode->signaler.second = 0; sNode->signaled = false; - sNode->in_use.store(0); } return result; } @@ -10973,7 +10971,6 @@ CreateEvent(VkDevice device, const VkEventCreateInfo *pCreateInfo, const VkAlloc if (result == VK_SUCCESS) { std::lock_guard<std::mutex> lock(global_lock); dev_data->eventMap[*pEvent].needsSignaled = false; - dev_data->eventMap[*pEvent].in_use.store(0); dev_data->eventMap[*pEvent].write_in_use = 0; dev_data->eventMap[*pEvent].stageMask = VkPipelineStageFlags(0); } |
