diff options
author | Jacques Lucke <jacques@blender.org> | 2022-06-18 14:32:46 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-06-18 14:41:08 +0300 |
commit | b8bd304bd45397b8c5a5ce850c4ceb2fdefe4961 (patch) | |
tree | 72fba0495a0582f52a51576362a6b09d96dc8d06 /source/blender/makesdna | |
parent | 7d030213b259420d176228f6a57af3ccc99d08f8 (diff) |
Geometry Nodes: speedup Separate XYZ node
This speeds up the node ~20% in common cases, e.g. when only the
X axis is used. The main optimization comes from not writing to memory
that's not used afterwards anymore anyway.
The "optimal code" for just extracting the x axis in a separate loop was
not faster for me. That indicates that the node is bottlenecked by
memory bandwidth, which seems reasonable.
Diffstat (limited to 'source/blender/makesdna')
0 files changed, 0 insertions, 0 deletions