MCPcopy Create free account
hub / github.com/comaps/comaps / ResetCache

Method ResetCache

libs/drape/vulkan/vulkan_pipeline.cpp:247–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247void VulkanPipeline::ResetCache(VkDevice device)
248{
249 for (auto const & p : m_pipelineCache)
250 vkDestroyPipeline(device, p.second, nullptr);
251 m_pipelineCache.clear();
252 m_isChanged = true;
253}
254
255void VulkanPipeline::ResetCache(VkDevice device, VkRenderPass renderPass)
256{

Callers 2

ResetPipelineCacheMethod · 0.80

Calls 4

clearMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected