I noticed that Vulkan generates ShaderModule from SPIRV bytecode is a very expensive operation, which will take up a lot of CPU cycles, but the overhead of this aspect in skia vulkan is extremely low, I guess this is mainly the role of ShaderCache, may ShaderCache be used in different processes shared between? Is it possible to add a large number of commonly used Shaders to the application for optimization before it is launched?
Asked
Active
Viewed 59 times