diff options
| author | yum <yum.food.vr@gmail.com> | 2026-01-02 16:21:34 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-01-02 17:32:14 -0800 |
| commit | fcc76b257ef5cfb4514669df3b0144f8e8dd76ef (patch) | |
| tree | bb6e73c8f199699b3e88afb85e24e2c8b3df5aab /Scripts/Fold/Editor/PointAlignNode.cs | |
| parent | 43d81e11992c11eda06e4b67d2c5bd0b9c4b729b (diff) | |
Fold: implement dynamic branching in shader
Switch from static branching approach using per-op data and fixed
execution order to dynamic branching approach using dynamic data.
This confers the main benefit of letting us dynamically reorder ops and
duplicate them. It also lets us eliminate some of the plumbing tedium
whenever we want to add new ops.
Diffstat (limited to 'Scripts/Fold/Editor/PointAlignNode.cs')
| -rw-r--r-- | Scripts/Fold/Editor/PointAlignNode.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Scripts/Fold/Editor/PointAlignNode.cs b/Scripts/Fold/Editor/PointAlignNode.cs index 7ab094b..c113928 100644 --- a/Scripts/Fold/Editor/PointAlignNode.cs +++ b/Scripts/Fold/Editor/PointAlignNode.cs @@ -15,7 +15,7 @@ public class PointAlignNode : BaseFoldNode public override FoldNodeSerialized Serialize() { - return new FoldNodeSerialized { vec0 = po }; + return new FoldNodeSerialized { opcode = 0, vec0 = po }; } } |
