Files
UnrealEngineUWP/Engine
shaun kime 31bcd3ebb2 Fixed: if multiple instances of a DI were used in a script, the HLSL translator produced all function combinations for each instance.
DataInterfaceRegisteredFunctions accumulated all registered functions from all the instances, then the generator iterated over it for each instance, which was incorrect. The information was already available per instance in FNiagaraScriptDataInterfaceCompileInfo.RegisteredFunctions, so we can just use that and remove DataInterfaceRegisteredFunctions entirely.

Already submitted this once as 11386264, but that introduced a new bug, because RegisteredFunctions can contain duplicates. Did it properly this time, so that GetFunctionHLSL is called once per unique function instance.

#jira none
#rb nicholas.goldstein
[FYI] mihnea.balta

#ROBOMERGE-SOURCE: CL 11511993 in //UE4/Release-4.25/...
#ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218)

[CL 11511998 by shaun kime in 4.25-Plus branch]
2020-02-18 15:10:27 -05:00
..
2020-02-18 13:12:41 -05:00
2020-02-12 14:56:01 -05:00
2020-02-18 13:28:53 -05:00