• Home
  • Raw
  • Download

Lines Matching refs:writeOpCode

776 void SPIRVCodeGenerator::writeOpCode(SpvOp_ opCode, int length, OutputStream& out) {  in writeOpCode()  function in SkSL::SPIRVCodeGenerator
836 this->writeOpCode(opCode, 1, out); in writeInstruction()
840 this->writeOpCode(opCode, 2, out); in writeInstruction()
864 this->writeOpCode(opCode, 1 + (length + 4) / 4, out); in writeInstruction()
872 this->writeOpCode(opCode, 2 + (length + 4) / 4, out); in writeInstruction()
880 this->writeOpCode(opCode, 3 + (length + 4) / 4, out); in writeInstruction()
888 this->writeOpCode(opCode, 3, out); in writeInstruction()
895 this->writeOpCode(opCode, 4, out); in writeInstruction()
903 this->writeOpCode(opCode, 5, out); in writeInstruction()
913 this->writeOpCode(opCode, 6, out); in writeInstruction()
924 this->writeOpCode(opCode, 7, out); in writeInstruction()
936 this->writeOpCode(opCode, 8, out); in writeInstruction()
950 this->writeOpCode(opCode, 9, out); in writeInstruction()
982 this->writeOpCode(SpvOpTypeStruct, 2 + (int32_t) types.size(), fConstantBuffer); in writeStruct()
1174 this->writeOpCode(SpvOpTypeFunction, length, fConstantBuffer); in getFunctionType()
1262 this->writeOpCode(SpvOpExtInst, 5 + (int32_t) arguments.size(), out); in writeIntrinsicCall()
1278 this->writeOpCode((SpvOp_) intrinsicId, 3 + (int32_t) arguments.size(), out); in writeIntrinsicCall()
1302 this->writeOpCode(SpvOpExtInst, 5 + (int32_t) arguments.size(), out); in writeSpecialIntrinsic()
1449 this->writeOpCode(SpvOpFunctionCall, 4 + (int32_t) c.fArguments.size(), out); in writeFunctionCall()
1476 this->writeOpCode(SpvOpConstantComposite, 3 + c.fType.columns(), fConstantBuffer); in writeConstantVector()
1483 this->writeOpCode(SpvOpConstantComposite, 3 + (int32_t) c.fArguments.size(), in writeConstantVector()
1554 this->writeOpCode(SpvOpCompositeConstruct, 3 + type.rows(), in writeUniformScaleMatrix()
1565 this->writeOpCode(SpvOpCompositeConstruct, 3 + type.columns(), in writeUniformScaleMatrix()
1605 this->writeOpCode(SpvOpCompositeConstruct, 3 + c.fType.rows(), out); in writeMatrixConstructor()
1618 this->writeOpCode(SpvOpCompositeConstruct, 3 + columns, out); in writeMatrixConstructor()
1641 this->writeOpCode(SpvOpCompositeConstruct, 3 + c.fType.columns(), out); in writeVectorConstructor()
1648 this->writeOpCode(SpvOpCompositeConstruct, 3 + (int32_t) c.fArguments.size(), out); in writeVectorConstructor()
1778 fGen.writeOpCode(SpvOpVectorShuffle, 5 + (int32_t) fComponents.size(), out); in load()
1803 fGen.writeOpCode(SpvOpVectorShuffle, 5 + fBaseType.columns(), out); in store()
1851 this->writeOpCode(SpvOpAccessChain, (SpvId) (3 + chain.size()), out); in getLValue()
1949 this->writeOpCode(SpvOpAccessChain, 5, out); in writeVariableReference()
1968 this->writeOpCode(SpvOpCompositeConstruct, 7, out); in writeVariableReference()
1996 this->writeOpCode(SpvOpVectorShuffle, 5 + (int32_t) count, out); in writeSwizzle()
2132 this->writeOpCode(SpvOpCompositeConstruct, 3 + b.fType.columns(), out); in writeBinaryExpression()
2144 this->writeOpCode(SpvOpCompositeConstruct, 3 + b.fType.columns(), out); in writeBinaryExpression()
3060 this->writeOpCode(SpvOpEntryPoint, (SpvId) (3 + (strlen(main->fName.c_str()) + 4) / 4) + in writeInstructions()