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

Method OpAccessChain

Source/SpireCore/SpirVCodeGen.cpp:1402–1412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1400 }
1401 }
1402 void OpAccessChain(const int ID, const int typeID, const int structID, const int indexID)
1403 {
1404 sbTextFunctionBody << LR"(%)" << ID << LR"( = OpAccessChain %)" << typeID
1405 << LR"( %)" << structID << LR"( %)" << indexID << EndLine;
1406
1407 streamFunctionBody.Add(65 + (5 << 16));
1408 streamFunctionBody.Add(typeID);
1409 streamFunctionBody.Add(ID);
1410 streamFunctionBody.Add(structID);
1411 streamFunctionBody.Add(indexID);
1412 }
1413 void OpImageSampleImplicitLod(
1414 const int ID,
1415 const int typeID,

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected