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

Method LogAcquireOperation

layers/sync/sync_submit.cpp:618–624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616}
617
618void QueueBatchContext::LogAcquireOperation(const PresentedImage& presented, vvl::Func command) {
619 auto access_log = std::make_shared<AccessLog>();
620 BatchAccessLog::BatchRecord batch{queue_state_};
621 batch.base_tag = tag_range_.begin;
622 batch_log_.Insert(batch, tag_range_, access_log);
623 access_log->emplace_back(AcquireResourceRecord(presented, tag_range_.begin, command));
624}
625
626void QueueBatchContext::SetupAccessContext(const PresentedImage& presented) {
627 if (presented.batch) {

Callers 1

Calls 3

emplace_backMethod · 0.80
InsertMethod · 0.45

Tested by

no test coverage detected