• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:writeWord

142 void SPIRVCodeGenerator::writeWord(int32_t word, SkWStream& out) {  in writeWord()  function in SkSL::SPIRVCodeGenerator
829 this->writeWord((length << 16) | opCode, out); in writeOpCode()
844 this->writeWord(word1, out); in writeInstruction()
861 this->writeWord(0, out); in writeString()
876 this->writeWord(word1, out); in writeInstruction()
884 this->writeWord(word1, out); in writeInstruction()
885 this->writeWord(word2, out); in writeInstruction()
892 this->writeWord(word1, out); in writeInstruction()
893 this->writeWord(word2, out); in writeInstruction()
899 this->writeWord(word1, out); in writeInstruction()
900 this->writeWord(word2, out); in writeInstruction()
901 this->writeWord(word3, out); in writeInstruction()
907 this->writeWord(word1, out); in writeInstruction()
908 this->writeWord(word2, out); in writeInstruction()
909 this->writeWord(word3, out); in writeInstruction()
910 this->writeWord(word4, out); in writeInstruction()
917 this->writeWord(word1, out); in writeInstruction()
918 this->writeWord(word2, out); in writeInstruction()
919 this->writeWord(word3, out); in writeInstruction()
920 this->writeWord(word4, out); in writeInstruction()
921 this->writeWord(word5, out); in writeInstruction()
928 this->writeWord(word1, out); in writeInstruction()
929 this->writeWord(word2, out); in writeInstruction()
930 this->writeWord(word3, out); in writeInstruction()
931 this->writeWord(word4, out); in writeInstruction()
932 this->writeWord(word5, out); in writeInstruction()
933 this->writeWord(word6, out); in writeInstruction()
940 this->writeWord(word1, out); in writeInstruction()
941 this->writeWord(word2, out); in writeInstruction()
942 this->writeWord(word3, out); in writeInstruction()
943 this->writeWord(word4, out); in writeInstruction()
944 this->writeWord(word5, out); in writeInstruction()
945 this->writeWord(word6, out); in writeInstruction()
946 this->writeWord(word7, out); in writeInstruction()
954 this->writeWord(word1, out); in writeInstruction()
955 this->writeWord(word2, out); in writeInstruction()
956 this->writeWord(word3, out); in writeInstruction()
957 this->writeWord(word4, out); in writeInstruction()
958 this->writeWord(word5, out); in writeInstruction()
959 this->writeWord(word6, out); in writeInstruction()
960 this->writeWord(word7, out); in writeInstruction()
961 this->writeWord(word8, out); in writeInstruction()
986 this->writeWord(resultId, fConstantBuffer); in writeStruct()
988 this->writeWord(id, fConstantBuffer); in writeStruct()
1164 this->writeWord(result, fConstantBuffer); in getFunctionType()
1165 this->writeWord(returnType, fConstantBuffer); in getFunctionType()
1167 this->writeWord(id, fConstantBuffer); in getFunctionType()
1252 this->writeWord(this->getType(c.fType), out); in writeIntrinsicCall()
1253 this->writeWord(result, out); in writeIntrinsicCall()
1254 this->writeWord(fGLSLExtendedInstructions, out); in writeIntrinsicCall()
1255 this->writeWord(intrinsicId, out); in writeIntrinsicCall()
1257 this->writeWord(id, out); in writeIntrinsicCall()
1268 this->writeWord(this->getType(c.fType), out); in writeIntrinsicCall()
1269 this->writeWord(result, out); in writeIntrinsicCall()
1271 this->writeWord(id, out); in writeIntrinsicCall()
1292 this->writeWord(this->getType(c.fType), out); in writeSpecialIntrinsic()
1293 this->writeWord(result, out); in writeSpecialIntrinsic()
1294 this->writeWord(fGLSLExtendedInstructions, out); in writeSpecialIntrinsic()
1295 this->writeWord(arguments.size() == 2 ? GLSLstd450Atan2 : GLSLstd450Atan, out); in writeSpecialIntrinsic()
1297 this->writeWord(id, out); in writeSpecialIntrinsic()
1423 this->writeWord(this->getType(c.fType), out); in writeFunctionCall()
1424 this->writeWord(result, out); in writeFunctionCall()
1425 this->writeWord(entry->second, out); in writeFunctionCall()
1427 this->writeWord(id, out); in writeFunctionCall()
1450 this->writeWord(type, fConstantBuffer); in writeConstantVector()
1451 this->writeWord(result, fConstantBuffer); in writeConstantVector()
1453 this->writeWord(arguments[0], fConstantBuffer); in writeConstantVector()
1458 this->writeWord(type, fConstantBuffer); in writeConstantVector()
1459 this->writeWord(result, fConstantBuffer); in writeConstantVector()
1461 this->writeWord(id, fConstantBuffer); in writeConstantVector()
1511 this->writeWord(this->getType(type.componentType().toCompound(fContext, type.rows(), 1)), in writeUniformScaleMatrix()
1514 this->writeWord(columnId, out); in writeUniformScaleMatrix()
1517 this->writeWord(row == column ? diagonal : zeroId, out); in writeUniformScaleMatrix()
1522 this->writeWord(this->getType(type), out); in writeUniformScaleMatrix()
1523 this->writeWord(id, out); in writeUniformScaleMatrix()
1525 this->writeWord(id, out); in writeUniformScaleMatrix()
1561 this->writeWord(this->getType(c.fType.componentType().toCompound(fContext, rows, in writeMatrixConstructor()
1565 this->writeWord(id, out); in writeMatrixConstructor()
1568 this->writeWord(arguments[i], out); in writeMatrixConstructor()
1574 this->writeWord(this->getType(c.fType), out); in writeMatrixConstructor()
1575 this->writeWord(result, out); in writeMatrixConstructor()
1577 this->writeWord(id, out); in writeMatrixConstructor()
1597 this->writeWord(this->getType(c.fType), out); in writeVectorConstructor()
1598 this->writeWord(result, out); in writeVectorConstructor()
1600 this->writeWord(arguments[0], out); in writeVectorConstructor()
1604 this->writeWord(this->getType(c.fType), out); in writeVectorConstructor()
1605 this->writeWord(result, out); in writeVectorConstructor()
1607 this->writeWord(id, out); in writeVectorConstructor()
1727 fGen.writeWord(fGen.getType(fSwizzleType), out); in load()
1728 fGen.writeWord(result, out); in load()
1729 fGen.writeWord(base, out); in load()
1730 fGen.writeWord(base, out); in load()
1732 fGen.writeWord(component, out); in load()
1752 fGen.writeWord(fGen.getType(fBaseType), out); in store()
1753 fGen.writeWord(shuffle, out); in store()
1754 fGen.writeWord(base, out); in store()
1755 fGen.writeWord(value, out); in store()
1770 fGen.writeWord(offset, out); in store()
1800 this->writeWord(this->getPointerType(expr.fType, get_storage_class(expr)), out); in getLValue()
1801 this->writeWord(member, out); in getLValue()
1803 this->writeWord(idx, out); in getLValue()
1893 this->writeWord(this->getPointerType(*fContext.fFloat_Type, SpvStorageClassUniform), out); in writeVariableReference()
1894 this->writeWord(heightPtr, out); in writeVariableReference()
1895 this->writeWord(fRTHeightStructId, out); in writeVariableReference()
1896 this->writeWord(fieldIndexId, out); in writeVariableReference()
1912 this->writeWord(this->getType(*fContext.fVec4_Type), out); in writeVariableReference()
1913 this->writeWord(flipped, out); in writeVariableReference()
1914 this->writeWord(xId, out); in writeVariableReference()
1915 this->writeWord(flippedYId, out); in writeVariableReference()
1916 this->writeWord(zeroId, out); in writeVariableReference()
1917 this->writeWord(oneId, out); in writeVariableReference()
1940 this->writeWord(this->getType(swizzle.fType), out); in writeSwizzle()
1941 this->writeWord(result, out); in writeSwizzle()
1942 this->writeWord(base, out); in writeSwizzle()
1943 this->writeWord(base, out); in writeSwizzle()
1945 this->writeWord(component, out); in writeSwizzle()
2039 this->writeWord(this->getType(resultType), out); in writeBinaryExpression()
2040 this->writeWord(vec, out); in writeBinaryExpression()
2042 this->writeWord(rhs, out); in writeBinaryExpression()
2051 this->writeWord(this->getType(resultType), out); in writeBinaryExpression()
2052 this->writeWord(vec, out); in writeBinaryExpression()
2054 this->writeWord(lhs, out); in writeBinaryExpression()
2874 this->writeWord(SpvExecutionModelVertex, out); in writeInstructions()
2877 this->writeWord(SpvExecutionModelFragment, out); in writeInstructions()
2880 this->writeWord(SpvExecutionModelGeometry, out); in writeInstructions()
2883 this->writeWord(fFunctionMap[main], out); in writeInstructions()
2886 this->writeWord(var, out); in writeInstructions()
2912 this->writeWord(SpvMagicNumber, *fOut); in generateCode()
2913 this->writeWord(SpvVersion, *fOut); in generateCode()
2914 this->writeWord(SKSL_MAGIC, *fOut); in generateCode()
2917 this->writeWord(fIdCount, *fOut); in generateCode()
2918 this->writeWord(0, *fOut); // reserved, always zero in generateCode()