Unity Issue Tracker - Shader prefiltering takes a long time to query mono attributes on HDRP
Fixed
UUM-23173
Shader prefiltering takes a long time to query mono attributes on HDRP
Unity: Shader System
Fixed
2023.2.X
2023.1.X
2022.2.X
2021.3.X
Some redundant data resolving work was happening during the build. Now we're caching the resolved data and build perf is back on track.
Some redundant data resolving work was happening during the build. Now we're caching the resolved data and build perf is back on track.
Some redundant data resolving work was happening during the build. Now we're caching the resolved data and build perf is back on track.
Some redundant data resolving work was happening during the build. Now we're caching the resolved data and build perf is back on track.
When making a build with HDRP in a very small custom project, I have measured that then majority of the prefiltering time is now spend querying attributes on mono types. It looks like it is doing a lot of redundant work, possibly querying the same types over and over again, especially across different shaders. It would be great if we could cache that information instead, maybe even for the entirety of the build.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?