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);
912 this->writeWord(this->getType(operandType), out);
913 this->writeWord(result, out);
914 this->writeWord(args[0], out);
915 this->writeWord(args[1], out);
995 this->writeWord(this->getType(c.fType), out);
996 this->writeWord(result, out);
997 this->writeWord(entry->second, out);
999 this->writeWord(id, out);
1022 this->writeWord(type, fConstantBuffer);
1023 this->writeWord(result, fConstantBuffer);
1025 this->writeWord(arguments[0], fConstantBuffer);
1030 this->writeWord(type, fConstantBuffer);
1031 this->writeWord(result, fConstantBuffer);
1033 this->writeWord(id, fConstantBuffer);
1099 this->writeWord(this->getType(type.componentType().toCompound(fContext, type.rows(), 1)),
1102 this->writeWord(columnId, out);
1105 this->writeWord(row == column ? diagonal : zeroId, out);
1110 this->writeWord(this->getType(type), out);
1111 this->writeWord(id, out);
1113 this->writeWord(id, out);
1155 this->writeWord(dstColumnType, out);
1156 this->writeWord(dstColumn, out);
1157 this->writeWord(srcColumn, out);
1159 this->writeWord(zeroId, out);
1167 this->writeWord(dstColumnType, out);
1168 this->writeWord(dstColumn, out);
1169 this->writeWord(srcColumn, out);
1170 this->writeWord(srcColumn, out);
1172 this->writeWord(i, out);
1181 this->writeWord(dstColumnType, out);
1182 this->writeWord(zeroColumn, out);
1184 this->writeWord(zeroId, out);
1191 this->writeWord(this->getType(dstType), out);
1192 this->writeWord(id, out);
1194 this->writeWord(columns[i], out);
1247 this->writeWord(this->getType(c.fType.componentType().toCompound(fContext, rows,
1251 this->writeWord(columnId, out);
1254 this->writeWord(id, out);
1263 this->writeWord(this->getType(c.fType), out);
1264 this->writeWord(result, out);
1266 this->writeWord(id, out);
1347 this->writeWord(this->getType(c.fType), out);
1348 this->writeWord(result, out);
1350 this->writeWord(arguments[0], out);
1355 this->writeWord(this->getType(c.fType), out);
1356 this->writeWord(result, out);
1358 this->writeWord(id, out);
1374 this->writeWord(this->getType(c.fType), out);
1375 this->writeWord(result, out);
1377 this->writeWord(id, out);
1513 fGen.writeWord(fGen.getType(fSwizzleType), out);
1514 fGen.writeWord(result, out);
1515 fGen.writeWord(base, out);
1516 fGen.writeWord(base, out);
1518 fGen.writeWord(component, out);
1538 fGen.writeWord(fGen.getType(fBaseType), out);
1539 fGen.writeWord(shuffle, out);
1540 fGen.writeWord(base, out);
1541 fGen.writeWord(value, out);
1556 fGen.writeWord(offset, out);
1586 this->writeWord(this->getPointerType(expr.fType, get_storage_class(expr)), out);
1587 this->writeWord(member, out);
1589 this->writeWord(idx, out);
1706 this->writeWord(this->getPointerType(*fContext.fFloat_Type, SpvStorageClassUniform), out);
1707 this->writeWord(heightPtr, out);
1708 this->writeWord(fRTHeightStructId, out);
1709 this->writeWord(fieldIndexId, out);
1725 this->writeWord(this->getType(*fContext.fFloat4_Type), out);
1726 this->writeWord(flipped, out);
1727 this->writeWord(xId, out);
1728 this->writeWord(flippedYId, out);
1729 this->writeWord(zeroId, out);
1730 this->writeWord(oneId, out);
1753 this->writeWord(this->getType(swizzle.fType), out);
1754 this->writeWord(result, out);
1755 this->writeWord(base, out);
1756 this->writeWord(base, out);
1758 this->writeWord(component, out);
1890 this->writeWord(this->getType(resultType), out);
1891 this->writeWord(vec, out);
1893 this->writeWord(rhs, out);
1902 this->writeWord(this->getType(resultType), out);
1903 this->writeWord(vec, out);
1905 this->writeWord(lhs, out);
2791 this->writeWord(value, out);
2792 this->writeWord(defaultLabel, out);
2798 this->writeWord(((IntLiteral&) *s.fCases[i]->fValue).fValue, out);
2799 this->writeWord(labels[i], out);
2973 this->writeWord(SpvExecutionModelVertex, out);
2976 this->writeWord(SpvExecutionModelFragment, out);
2979 this->writeWord(SpvExecutionModelGeometry, out);
2985 this->writeWord(entryPoint, out);
2988 this->writeWord(var, out);
3017 this->writeWord(SpvMagicNumber, *fOut);
3018 this->writeWord(SpvVersion, *fOut);
3019 this->writeWord(SKSL_MAGIC, *fOut);
3022 this->writeWord(fIdCount, *fOut);
3023 this->writeWord(0, *fOut); // reserved, always zero