Hi,
We’ve been seeing very slow compilation times for our bundled PSOs, on the order of a couple of minutes, processing around 2k shaders in the background at startup. I noticed that the shader compilation batch size, r.ShaderPipelineCache.BackgroundBatchSize, is set to 1 by default, and raising this to 50 significantly reduces the startup time. Wondering why a default value of 1 was chosen (the batch size used in foreground compliation, r.ShaderPipelineCache.BatchSize, does default to 50), and whether changing this will have any adverse effects?
Thanks,
Alistair