MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / create_pipeline_cache

Method create_pipeline_cache

framework/api_vulkan_sample.cpp:437–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435}
436
437void ApiVulkanSample::create_pipeline_cache()
438{
439 VkPipelineCacheCreateInfo pipeline_cache_create_info = {};
440 pipeline_cache_create_info.sType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO;
441 VK_CHECK(vkCreatePipelineCache(get_device().get_handle(), &pipeline_cache_create_info, nullptr, &pipeline_cache));
442}
443
444VkPipelineShaderStageCreateInfo ApiVulkanSample::load_shader(const std::string &file, VkShaderStageFlagBits stage)
445{

Callers

nothing calls this directly

Calls 1

get_handleMethod · 0.45

Tested by

no test coverage detected