MCPcopy Create free account
hub / github.com/csyonghe/Spire / OpFunctionParameter

Method OpFunctionParameter

Source/SpireCore/SpirVCodeGen.cpp:819–826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

817 streamFunctionHeader.Add(functionTypeID);
818 }
819 void OpFunctionParameter(const int paramID, const int typeID)
820 {
821 sbTextFunctionHeader << LR"(%)" << paramID << LR"( = OpFunctionParameter %)" << typeID << EndLine;
822
823 streamFunctionHeader.Add(55 + (3 << 16));
824 streamFunctionHeader.Add(typeID);
825 streamFunctionHeader.Add(paramID);
826 }
827 void OpTypeFunction(const int functionTypeID, const int returnTypeID, const List<int> &argIDList)
828 {
829 sbTextTypeDefinition << LR"(%)" << functionTypeID << LR"( = OpTypeFunction %)" << returnTypeID;

Callers 1

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected