MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / ResolvePresentWaits

Method ResolvePresentWaits

layers/sync/sync_submit.cpp:544–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542}
543
544std::vector<BatchContextPtr> QueueBatchContext::ResolvePresentWaits(vvl::span<const VkSemaphore> wait_semaphores,
545 const PresentedImages& presented_images,
546 SignalsUpdate& signals_update) {
547 std::vector<BatchContextPtr> batches_resolved;
548 for (VkSemaphore semaphore : wait_semaphores) {
549 auto signal_info = signals_update.OnBinaryWait(semaphore);
550 if (!signal_info) {
551 continue; // Binary signal not found [core validation check]
552 }
553 ResolvePresentSemaphoreWait(*signal_info, presented_images);
554 ImportTags(*signal_info->batch);
555 batches_resolved.emplace_back(std::move(signal_info->batch));
556 }
557 return batches_resolved;
558}
559
560bool QueueBatchContext::DoQueuePresentValidate(const Location& loc, const PresentedImages& presented_images) {
561 bool skip = false;

Callers 1

ProcessQueuePresentMethod · 0.80

Calls 2

OnBinaryWaitMethod · 0.80
emplace_backMethod · 0.80

Tested by

no test coverage detected