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

Method ResolveLastBatch

layers/sync/sync_submit.cpp:522–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520}
521
522void QueueBatchContext::ResolveLastBatch(const BatchContextPtr& last_batch) {
523 // Copy in the event state from the previous batch (on this queue)
524 events_context_.DeepCopy(last_batch->events_context_);
525
526 // If there are no semaphores to the previous batch, make sure a "submit order" non-barriered import is done
527 access_context_.ResolveFromContext(last_batch->access_context_);
528 ImportTags(*last_batch);
529
530 last_synchronized_present.Merge(last_batch->last_synchronized_present);
531}
532
533void QueueBatchContext::ImportTags(const QueueBatchContext& from) {
534 batch_log_.Import(from.batch_log_);

Callers 3

ProcessQueuePresentMethod · 0.80
ProcessQueueSubmitMethod · 0.80

Calls 2

ResolveFromContextMethod · 0.60
MergeMethod · 0.45

Tested by

no test coverage detected