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

Method OpReturnValue

Source/SpireCore/SpirVCodeGen.cpp:927–933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

925 streamFunctionBody.Add(253 + (1 << 16));
926 }
927 void OpReturnValue(const int ID)
928 {
929 sbTextFunctionBody << LR"(OpReturnValue %)" << ID << EndLine;
930
931 streamFunctionBody.Add(254 + (2 << 16));
932 streamFunctionBody.Add(ID);
933 }
934 void OpFunctionEnd()
935 {
936 sbTextFunctionBody << LR"(OpFunctionEnd)" << EndLine;

Callers 1

AddInstrReturnValueMethod · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected