• Home
  • Raw
  • Download

Lines Matching refs:pSemaphore

2713             auto pSemaphore = GetSemaphoreNode(wait.semaphore);  in RetireWorkOnQueue()  local
2714 if (pSemaphore) { in RetireWorkOnQueue()
2715 pSemaphore->in_use.fetch_sub(1); in RetireWorkOnQueue()
2722 auto pSemaphore = GetSemaphoreNode(semaphore); in RetireWorkOnQueue() local
2723 if (pSemaphore) { in RetireWorkOnQueue()
2724 pSemaphore->in_use.fetch_sub(1); in RetireWorkOnQueue()
2729 auto pSemaphore = GetSemaphoreNode(semaphore); in RetireWorkOnQueue() local
2730 if (pSemaphore) { in RetireWorkOnQueue()
2731 pSemaphore->in_use.fetch_sub(1); in RetireWorkOnQueue()
3030 auto pSemaphore = GetSemaphoreNode(semaphore); in PostCallRecordQueueSubmit() local
3031 if (pSemaphore) { in PostCallRecordQueueSubmit()
3032 if (pSemaphore->scope == kSyncScopeInternal) { in PostCallRecordQueueSubmit()
3033 if (pSemaphore->signaler.first != VK_NULL_HANDLE) { in PostCallRecordQueueSubmit()
3034 … semaphore_waits.push_back({semaphore, pSemaphore->signaler.first, pSemaphore->signaler.second}); in PostCallRecordQueueSubmit()
3035 pSemaphore->in_use.fetch_add(1); in PostCallRecordQueueSubmit()
3037 pSemaphore->signaler.first = VK_NULL_HANDLE; in PostCallRecordQueueSubmit()
3038 pSemaphore->signaled = false; in PostCallRecordQueueSubmit()
3041 pSemaphore->in_use.fetch_add(1); in PostCallRecordQueueSubmit()
3042 if (pSemaphore->scope == kSyncScopeExternalTemporary) { in PostCallRecordQueueSubmit()
3043 pSemaphore->scope = kSyncScopeInternal; in PostCallRecordQueueSubmit()
3050 auto pSemaphore = GetSemaphoreNode(semaphore); in PostCallRecordQueueSubmit() local
3051 if (pSemaphore) { in PostCallRecordQueueSubmit()
3052 if (pSemaphore->scope == kSyncScopeInternal) { in PostCallRecordQueueSubmit()
3053 pSemaphore->signaler.first = queue; in PostCallRecordQueueSubmit()
3054 pSemaphore->signaler.second = pQueue->seq + pQueue->submissions.size() + 1; in PostCallRecordQueueSubmit()
3055 pSemaphore->signaled = true; in PostCallRecordQueueSubmit()
3056 pSemaphore->in_use.fetch_add(1); in PostCallRecordQueueSubmit()
3124 auto pSemaphore = GetSemaphoreNode(semaphore); in PreCallValidateQueueSubmit() local
3125 …if (pSemaphore && (pSemaphore->scope == kSyncScopeInternal || internal_semaphores.count(semaphore)… in PreCallValidateQueueSubmit()
3127 (!(signaled_semaphores.count(semaphore)) && !(pSemaphore->signaled))) { in PreCallValidateQueueSubmit()
3139 if (pSemaphore && pSemaphore->scope == kSyncScopeExternalTemporary) { in PreCallValidateQueueSubmit()
3145 auto pSemaphore = GetSemaphoreNode(semaphore); in PreCallValidateQueueSubmit() local
3146 …if (pSemaphore && (pSemaphore->scope == kSyncScopeInternal || internal_semaphores.count(semaphore)… in PreCallValidateQueueSubmit()
3147 …maphores.count(semaphore) || (!(unsignaled_semaphores.count(semaphore)) && pSemaphore->signaled)) { in PreCallValidateQueueSubmit()
3155 … device_data->report_data->FormatHandle(pSemaphore->signaler.first).c_str()); in PreCallValidateQueueSubmit()
11120 auto pSemaphore = GetSemaphoreNode(semaphore); in PreCallValidateQueueBindSparse() local
11121 …if (pSemaphore && (pSemaphore->scope == kSyncScopeInternal || internal_semaphores.count(semaphore)… in PreCallValidateQueueBindSparse()
11123 (!(signaled_semaphores.count(semaphore)) && !(pSemaphore->signaled))) { in PreCallValidateQueueBindSparse()
11135 if (pSemaphore && pSemaphore->scope == kSyncScopeExternalTemporary) { in PreCallValidateQueueBindSparse()
11141 auto pSemaphore = GetSemaphoreNode(semaphore); in PreCallValidateQueueBindSparse() local
11142 if (pSemaphore && pSemaphore->scope == kSyncScopeInternal) { in PreCallValidateQueueBindSparse()
11143 …maphores.count(semaphore) || (!(unsignaled_semaphores.count(semaphore)) && pSemaphore->signaled)) { in PreCallValidateQueueBindSparse()
11151 … device_data->report_data->FormatHandle(pSemaphore->signaler.first).c_str()); in PreCallValidateQueueBindSparse()
11293 auto pSemaphore = GetSemaphoreNode(semaphore); in PostCallRecordQueueBindSparse() local
11294 if (pSemaphore) { in PostCallRecordQueueBindSparse()
11295 if (pSemaphore->scope == kSyncScopeInternal) { in PostCallRecordQueueBindSparse()
11296 if (pSemaphore->signaler.first != VK_NULL_HANDLE) { in PostCallRecordQueueBindSparse()
11297 … semaphore_waits.push_back({semaphore, pSemaphore->signaler.first, pSemaphore->signaler.second}); in PostCallRecordQueueBindSparse()
11298 pSemaphore->in_use.fetch_add(1); in PostCallRecordQueueBindSparse()
11300 pSemaphore->signaler.first = VK_NULL_HANDLE; in PostCallRecordQueueBindSparse()
11301 pSemaphore->signaled = false; in PostCallRecordQueueBindSparse()
11304 pSemaphore->in_use.fetch_add(1); in PostCallRecordQueueBindSparse()
11305 if (pSemaphore->scope == kSyncScopeExternalTemporary) { in PostCallRecordQueueBindSparse()
11306 pSemaphore->scope = kSyncScopeInternal; in PostCallRecordQueueBindSparse()
11313 auto pSemaphore = GetSemaphoreNode(semaphore); in PostCallRecordQueueBindSparse() local
11314 if (pSemaphore) { in PostCallRecordQueueBindSparse()
11315 if (pSemaphore->scope == kSyncScopeInternal) { in PostCallRecordQueueBindSparse()
11316 pSemaphore->signaler.first = queue; in PostCallRecordQueueBindSparse()
11317 pSemaphore->signaler.second = pQueue->seq + pQueue->submissions.size() + 1; in PostCallRecordQueueBindSparse()
11318 pSemaphore->signaled = true; in PostCallRecordQueueBindSparse()
11319 pSemaphore->in_use.fetch_add(1); in PostCallRecordQueueBindSparse()
11348 … const VkAllocationCallbacks *pAllocator, VkSemaphore *pSemaphore, VkResult result) { in PostCallRecordCreateSemaphore() argument
11351 SEMAPHORE_NODE *sNode = &device_data->semaphoreMap[*pSemaphore]; in PostCallRecordCreateSemaphore()
11978 auto pSemaphore = GetSemaphoreNode(pPresentInfo->pWaitSemaphores[i]); in PreCallValidateQueuePresentKHR() local
11979 if (pSemaphore && !pSemaphore->signaled) { in PreCallValidateQueuePresentKHR()
12110 auto pSemaphore = GetSemaphoreNode(pPresentInfo->pWaitSemaphores[i]); in PostCallRecordQueuePresentKHR() local
12111 if (pSemaphore) { in PostCallRecordQueuePresentKHR()
12112 pSemaphore->signaler.first = VK_NULL_HANDLE; in PostCallRecordQueuePresentKHR()
12113 pSemaphore->signaled = false; in PostCallRecordQueuePresentKHR()
12179 auto pSemaphore = GetSemaphoreNode(semaphore); in ValidateAcquireNextImage() local
12180 if (pSemaphore && pSemaphore->scope == kSyncScopeInternal && pSemaphore->signaled) { in ValidateAcquireNextImage()
12246 auto pSemaphore = GetSemaphoreNode(semaphore); in RecordAcquireNextImageState() local
12247 if (pSemaphore && pSemaphore->scope == kSyncScopeInternal) { in RecordAcquireNextImageState()
12250 pSemaphore->signaled = true; in RecordAcquireNextImageState()
12251 pSemaphore->signaler.first = VK_NULL_HANDLE; in RecordAcquireNextImageState()