What's the best way to pre-cache ShaderCache for Vulkan App?

what’s the best way to pre-cache ShaderCache for Vulkan App?
pre-compile the shaders, and then load the cache later to save the shader-compile time.
is there any tutorial and demo?
Thanks!

You can try the VK_KHR_pipeline_binary or VK_EXT_shader_object if your target devies support them.

1 Like