2fc32a2f188264a66bb21fbcb9397a875eca1fe8
Currently, sometimes shader code generation fails because the code of top-level nodes is interleaved with the code of a repeat zone. See #147747 for more details. Previously, the code-generation order was just the standard toposort of the node tree, but it does not guarantee that all nodes in a zone are next to each other. Also, it can't easily, because the zone detection itself depends on the toposort. This patch implements another sorting step on top of the default toposort. It packs nodes in zones together without changing the validity of the toposort. This is an alternative to #147999. Pull Request: https://projects.blender.org/blender/blender/pulls/148005
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
