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

Method AddLibrary

tests/framework/ray_tracing_objects.cpp:2174–2181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2172}
2173
2174void Pipeline::AddLibrary(const Pipeline& library) {
2175 libraries_.emplace_back(&library);
2176 library_handles_.emplace_back(library.rt_pipeline_);
2177 pipeline_lib_info_ = vku::InitStructHelper();
2178 pipeline_lib_info_.libraryCount = size32(library_handles_);
2179 pipeline_lib_info_.pLibraries = library_handles_.data();
2180 vk_info_.pLibraryInfo = &pipeline_lib_info_;
2181}
2182
2183void Pipeline::AddDynamicState(VkDynamicState dynamic_state) { dynamic_states.emplace_back(dynamic_state); }
2184

Callers 3

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 3

size32Function · 0.85
emplace_backMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected