Cleanup: Reduce binary size by deduplicating attribute processing #107823

Merged
Hans Goudey merged 4 commits from HooglyBoogly/blender:cleanup-remove-convert-to-static-type into main 2023-05-12 14:44:46 +02:00

4 Commits

Author SHA1 Message Date
Hans Goudey 0b19407315 Correct array initialization 2023-05-12 08:42:48 -04:00
Hans Goudey af7f93f504 Merge branch 'main' into cleanup-remove-convert-to-static-type 2023-05-12 08:41:49 -04:00
Hans Goudey 6ed0978d22 Merge branch 'main' into cleanup-remove-convert-to-static-type 2023-05-11 12:02:58 -04:00
Hans Goudey 9b0b30e68d Cleanup: Reduce binary size by deduplicating attribute processing
This makes the Blender binary 350 KB smaller. The largest change comes
from using FunctionRef instead of a template when gathering indices to
mix in the extrude node (which has no performance cost). The rest of the
change comes from consolidating uses of code generation for all
attribute types. This brings us a bit further in the direction of
unifying attribute propagation.
2023-05-10 17:04:58 -04:00