Why does vkCreateRayTracingPipelinesKHR takes so long?


I am working a vulkan ray tracing program, and find "vkCreateRayTracingPipelinesKHR " takes 3-4 seconds, why does it takes so long?

I have tried using PipelineCache, as this example shows(VulkanSamples/pipeline_cache.cpp at master · LunarG/VulkanSamples · GitHub). But it doesn’t seems to save the time.

Anybody give me a hint?


just find that the pipeline creation time is proportional to the length of shader code…

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.