Commit Graph

6 Commits

Author SHA1 Message Date
Ben Marsh
5e955f8f8b BuildGraph: Fix labels having empty list of included nodes.
#preflight none

[CL 21061685 by Ben Marsh in ue5-main branch]
2022-07-12 15:52:23 -04:00
Ben Marsh
074e08da2b BuildGraph: Fix labels not getting passed through from the aggregate into the bytecode.
#preflight none

[CL 21060760 by Ben Marsh in ue5-main branch]
2022-07-12 14:59:18 -04:00
Ben Marsh
b198fd4a3c BuildGraph: Fix test cases with recent changes to storing graph structures as BG objects.
#preflight 62cc695dad490b52dad4efc9

[CL 21044414 by Ben Marsh in ue5-main branch]
2022-07-11 14:24:04 -04:00
Ben Marsh
7d85a883eb BuildGraph: Fix compile errors in tests.
#preflight none

[CL 21039069 by Ben Marsh in ue5-main branch]
2022-07-11 09:56:06 -04:00
Ben Marsh
38f3bc55ef BuildGraph: Various VM improvements.
* Added support for deserializing BgObject types directly into native classes.
* Removed opcodes for creating graph structures. These are now created in user code from BgObject types.
* Removed BgNodeSpecBuilder. BgNode objects can now be modified directly (returning a modified copy).
* Added concrete types for option parameters. The VM now keeps track of any parameters for evaluated options, allowing them to be added into the graph definition.
* Order dependencies now take nodes rather than outputs.
* Added explicit support for native thunks, whose bindings are saved to a sideband channel during compilation and referenced in bytecode as an index. This generalizes code that was previously specific to node definitions.
* Added a name table to bytecode, to optimize situations where we reference the same string mulitple times.

#preflight 62bf3c583f0d6beee2e8f4a6

[CL 20918762 by Ben Marsh in ue5-main branch]
2022-07-01 14:47:54 -04:00
Ben Marsh
50a74d20ce BuildGraph: Add bytecode compiler and interpreter to allow graph evaluation outside UAT.
#preflight 62b606546067f280916744c8

[CL 20814909 by Ben Marsh in ue5-main branch]
2022-06-24 15:18:50 -04:00