Instead of generating a dependency sorted node list whenever evaluating texture or EEVEE/viewport shader nodes, use the existing sorted array from the topology cache. This may be more efficient because the algorithm isn't quadratic. It's also the second-to-last place to use `node.runtime->level`, which can be removed soon. Differential Revision: https://developer.blender.org/D16565
7.4 KiB
7.4 KiB