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