MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / createCooperativeMatrixConversion

Method createCooperativeMatrixConversion

SPIRV/SpvBuilder.cpp:4172–4179  ·  view source on GitHub ↗

coopmat conversion

Source from the content-addressed store, hash-verified

4170
4171// coopmat conversion
4172Id Builder::createCooperativeMatrixConversion(Id typeId, Id source)
4173{
4174 Instruction* op = new Instruction(getUniqueId(), typeId, Op::OpCooperativeMatrixConvertNV);
4175 op->addIdOperand(source);
4176 addInstruction(std::unique_ptr<Instruction>(op));
4177
4178 return op->getResultId();
4179}
4180
4181// coopmat reduce
4182Id Builder::createCooperativeMatrixReduce(Op opcode, Id typeId, Id source, unsigned int mask, Id func)

Callers 1

visitAggregateMethod · 0.80

Calls 2

addIdOperandMethod · 0.80
getResultIdMethod · 0.80

Tested by

no test coverage detected