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

Method GetAccessRecord

layers/sync/sync_submit.cpp:878–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

876}
877
878BatchAccessLog::AccessRecord BatchAccessLog::GetAccessRecord(ResourceUsageTag tag) const {
879 auto found_log = log_map_.find(tag);
880 if (found_log != log_map_.cend()) {
881 return found_log->second.GetAccessRecord(tag);
882 }
883 // tag not found
884 assert(false);
885 return AccessRecord();
886}
887
888std::string BatchAccessLog::CBSubmitLog::GetDebugRegionName(const ResourceUsageRecord& record) const {
889 const auto& label_commands = (*cbs_)[0]->GetLabelCommands();

Callers 2

GetResourceUsageInfoMethod · 0.80
ApplyPredicatedWaitMethod · 0.80

Calls 4

AccessRecordClass · 0.85
findMethod · 0.45
cendMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected