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

Method OpMatrixTimesMatrix

Source/SpireCore/SpirVCodeGen.cpp:1233–1242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1231 streamFunctionBody.Add(ID1);
1232 }
1233 void OpMatrixTimesMatrix(const int ID, const int typeID, const int ID0, const int ID1)
1234 {
1235 sbTextFunctionBody << LR"(%)" << ID << LR"( = OpMatrixTimesMatrix %)" << typeID << LR"( %)" << ID0 << LR"( %)" << ID1 << EndLine;
1236
1237 streamFunctionBody.Add(146 + (5 << 16));
1238 streamFunctionBody.Add(typeID);
1239 streamFunctionBody.Add(ID);
1240 streamFunctionBody.Add(ID0);
1241 streamFunctionBody.Add(ID1);
1242 }
1243 void OpConstantBool(const int typeID, const int ID, const bool b)
1244 {
1245 if (b)

Callers 1

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected