public Function(SpirvTypeBase resultType, Spv.FunctionControl functionControl, SpirvTypeBase functionType, string debugName = null) { this.ResultType = resultType; this.FunctionControl = functionControl; this.FunctionType = functionType; DebugName = debugName; }
public Function(Spv.FunctionControl functionControl, TypeFunction functionType, string debugName = null) : this(functionType.ReturnType, functionControl, functionType, debugName) { }