Cleanup: Geometry Nodes: Prevent unnecessary template instantiations
commitf01e6d59ec2d1ba0ff61b9c8873fa1c7100d6072
authorIliya Katueshenock <modormoder@gmail.com>
Mon, 15 Apr 2024 20:04:30 +0000 (15 22:04 +0200)
committerHans Goudey <hooglyboogly@noreply.localhost>
Mon, 15 Apr 2024 20:04:30 +0000 (15 22:04 +0200)
treeba39bb1e8c02ee22094ca3472f5d95f0587f1ea5
parent6623e16001f8b6b4796975f0b73e53e297898316
Cleanup: Geometry Nodes: Prevent unnecessary template instantiations

Add utility function to handle supported types explicitly.
Right now Blur Attribute node generates all the attribute types except for bool.
So, there is redundant instances of functions for types:
float2, int2, int8_t, ColorGeometry4b, math::Quaternion, float4x4.
These types are not supported and should not be used for instantiation.
This makes the blender binary 42 KB smaller.

Pull Request: https://projects.blender.org/blender/blender/pulls/120639
source/blender/nodes/geometry/nodes/node_geo_blur_attribute.cc