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

Method Import

layers/sync/sync_submit.cpp:806–810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

804}
805
806void BatchAccessLog::Import(const BatchRecord& batch, const CommandBufferAccessContext& cb_access,
807 const std::vector<std::string>& initial_label_stack) {
808 ResourceUsageRange import_range = {batch.base_tag, batch.base_tag + cb_access.GetTagCount()};
809 log_map_.insert(std::make_pair(import_range, CBSubmitLog(batch, cb_access, initial_label_stack)));
810}
811
812void BatchAccessLog::Import(const BatchAccessLog& other) {
813 for (const auto& entry : other.log_map_) {

Callers 3

ImportTagsMethod · 0.45
RegisterAsyncContextsMethod · 0.45
ValidateSubmitMethod · 0.45

Calls 3

CBSubmitLogClass · 0.85
GetTagCountMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected