Home | History | Annotate | Download | only in sksl

Lines Matching full:writeword

142 void SPIRVCodeGenerator::writeWord(int32_t word, OutputStream& out) {
227 this->writeWord((length << 16) | opCode, out);
241 this->writeWord(word1, out);
257 this->writeWord(0, out);
270 this->writeWord(word1, out);
277 this->writeWord(word1, out);
278 this->writeWord(word2, out);
285 this->writeWord(word1, out);
286 this->writeWord(word2, out);
292 this->writeWord(word1, out);
293 this->writeWord(word2, out);
294 this->writeWord(word3, out);
300 this->writeWord(word1, out);
301 this->writeWord(word2, out);
302 this->writeWord(word3, out);
303 this->writeWord(word4, out);
310 this->writeWord(word1, out);
311 this->writeWord(word2, out);
312 this->writeWord(word3, out);
313 this->writeWord(word4, out);
314 this->writeWord(word5, out);
321 this->writeWord(word1, out);
322 this->writeWord(word2, out);
323 this->writeWord(word3, out);
324 this->writeWord(word4, out);
325 this->writeWord(word5, out);
326 this->writeWord(word6, out);
333 this->writeWord(word1, out);
334 this->writeWord
335 this->writeWord(word3, out);
336 this->writeWord(word4, out);
337 this->writeWord(word5, out);
338 this->writeWord(word6, out);
339 this->writeWord(word7, out);
347 this->writeWord(word1, out);
348 this->writeWord(word2, out);
349 this->writeWord(word3, out);
350 this->writeWord(word4, out);
351 this->writeWord(word5, out);
352 this->writeWord(word6, out);
353 this->writeWord(word7, out);
354 this->writeWord(word8, out);
382 this->writeWord(resultId, fConstantBuffer);
384 this->writeWord(id, fConstantBuffer);
598 this->writeWord(result, fConstantBuffer);
599 this->writeWord(returnType, fConstantBuffer);
601 this->writeWord(id, fConstantBuffer);
690 this->writeWord(this->getType(c.fType), out);
691 writeWord(result, out);
692 this->writeWord(fGLSLExtendedInstructions, out);
693 this->writeWord(intrinsicId, out);
695 this->writeWord(id, out);
707 this->writeWord(this->getType(c.fType), out);
708 this->writeWord(result, out);
713 this->writeWord(id, out);
744 this->writeWord(this->getType(a->fType.toCompound(fContext, vectorSize, 1)), out);
745 this->writeWord(vector, out);
747 this->writeWord(raw, out);
762 this->writeWord(this->getType(type), out);
763 this->writeWord(id, out);
764 this->writeWord(fGLSLExtendedInstructions, out);
767 this->writeWord(floatInst, out);
769 this->writeWord(signedInst, out);
771 this->writeWord(unsignedInst, out);
776 this->writeWord(a, out);
790 this->writeWord(this->getType(c.fType), out);
791 this->writeWord(result, out);
792 this->writeWord(fGLSLExtendedInstructions, out);
793 this->writeWord(arguments.size() == 2 ? GLSLstd450Atan2 : GLSLstd450Atan, out);
795 this->writeWord(id, out);
904 this->writeWord(this->getType(operandType), out);
905 this->writeWord(result, out);
906 this->writeWord(args[0], out);
907 this->writeWord(args[1], out);
987 this->writeWord(this->getType(c.fType), out);
988 this->writeWord(result, out);
989 this->writeWord(entry->second, out);
991 this->writeWord(id, out);
1014 this->writeWord(type, fConstantBuffer);
1015 this->writeWord(result, fConstantBuffer);
1017 this->writeWord(arguments[0], fConstantBuffer);
1022 this->writeWord(type, fConstantBuffer);
1023 this->writeWord(result, fConstantBuffer);
1025 this->writeWord(id, fConstantBuffer);
1091 this->writeWord(this->getType(type.componentType().toCompound(fContext, type.rows(), 1)),
1094 this->writeWord(columnId, out);
1097 this->writeWord(row == column ? diagonal : zeroId, out);
1102 this->writeWord(this->getType(type), out);
1103 this->writeWord(id, out);
1105 this->writeWord(id, out);
1147 this->writeWord(dstColumnType, out);
1148 this->writeWord(dstColumn, out);
1149 this->writeWord(srcColumn, out);
1151 this->writeWord(zeroId, out);
1159 this->writeWord(dstColumnType, out);
1160 this->writeWord(dstColumn, out);
1161 this->writeWord(srcColumn, out);
1162 this->writeWord(srcColumn, out);
1164 this->writeWord(i, out);
1173 this->writeWord(dstColumnType, out);
1174 this->writeWord(zeroColumn, out);
1176 this->writeWord(zeroId, out);
1183 this->writeWord(this->getType(dstType), out);
1184 this->writeWord(id, out);
1186 this->writeWord(columns[i], out);
1239 this->writeWord(this->getType(c.fType.componentType().toCompound(fContext, rows,
1243 this->writeWord(columnId, out);
1246 this->writeWord(id, out);
1255 this->writeWord(this->getType(c.fType), out);
1256 this->writeWord(result, out);
1258 this->writeWord(id, out);
1339 this->writeWord(this->getType(c.fType), out);
1340 this->writeWord(result, out);
1342 this->writeWord(arguments[0], out);
1347 this->writeWord(this->getType(c.fType), out);
1348 this->writeWord(result, out);
1350 this->writeWord(id, out);
1366 this->writeWord(this->getType(c.fType), out);
1367 this->writeWord(result, out);
1369 this->writeWord(id, out);
1505 fGen.writeWord(fGen.getType(fSwizzleType), out);
1506 fGen.writeWord(result, out);
1507 fGen.writeWord(base, out);
1508 fGen.writeWord(base, out);
1510 fGen.writeWord(component, out);
1530 fGen.writeWord(fGen.getType(fBaseType), out);
1531 fGen.writeWord(shuffle, out);
1532 fGen.writeWord(base, out);
1533 fGen.writeWord(value, out);
1548 fGen.writeWord(offset, out);
1578 this->writeWord(this->getPointerType(expr.fType, get_storage_class(expr)), out);
1579 this->writeWord(member, out);
1581 this->writeWord(idx, out);
1698 this->writeWord(this->getPointerType(*fContext.fFloat_Type, SpvStorageClassUniform), out);
1699 this->writeWord(heightPtr, out);
1700 this->writeWord(fRTHeightStructId, out);
1701 this->writeWord(fieldIndexId, out);
1717 this->writeWord(this->getType(*fContext.fFloat4_Type), out);
1718 this->writeWord(flipped, out);
1719 this->writeWord(xId, out);
1720 this->writeWord(flippedYId, out);
1721 this->writeWord(zeroId, out);
1722 this->writeWord(oneId, out);
1745 this->writeWord(this->getType(swizzle.fType), out);
1746 this->writeWord(result, out);
1747 this->writeWord(base, out);
1748 this->writeWord(base, out);
1750 this->writeWord(component, out);
1882 this->writeWord(this->getType(resultType), out);
1883 this->writeWord(vec, out);
1885 this->writeWord(rhs, out);
1894 this->writeWord(this->getType(resultType), out);
1895 this->writeWord(vec, out);
1897 this->writeWord(lhs, out);
2787 this->writeWord(value, out);
2788 this->writeWord(defaultLabel, out);
2794 this->writeWord(((IntLiteral&) *s.fCases[i]->fValue).fValue, out);
2795 this->writeWord(labels[i], out);
2969 this->writeWord(SpvExecutionModelVertex, out);
2972 this->writeWord(SpvExecutionModelFragment, out);
2975 this->writeWord(SpvExecutionModelGeometry, out);
2981 this->writeWord(entryPoint, out);
2984 this->writeWord(var, out);
3013 this->writeWord(SpvMagicNumber, *fOut);
3014 this->writeWord(SpvVersion, *fOut);
3015 this->writeWord(SKSL_MAGIC, *fOut);
3018 this->writeWord(fIdCount, *fOut);
3019 this->writeWord(0, *fOut); // reserved, always zero