MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / BuildLayerPaths

Method BuildLayerPaths

vkconfig_core/layer_manager.cpp:788–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786}
787
788std::vector<Path> LayerManager::BuildLayerPaths() const {
789 std::vector<Path> result;
790
791 for (auto it = this->layer_init.begin(); it != this->layer_init.end(); ++it) {
792 bool keep = false;
793
794 for (auto jt = it->second.begin(); jt != it->second.end(); ++jt) {
795 if (!jt->descriptor.removed) {
796 keep = true;
797 break;
798 }
799 }
800
801 if (keep) {
802 result.push_back(it->first);
803 }
804 }
805
806 return result;
807}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected