Lines Matching refs:writeWord
142 void SPIRVCodeGenerator::writeWord(int32_t word, OutputStream& out) {
229 this->writeWord((length << 16) | opCode, out);
243 this->writeWord(word1, out);
259 this->writeWord(0, out);
272 this->writeWord(word1, out);
279 this->writeWord(word1, out);
280 this->writeWord(word2, out);
287 this->writeWord(word1, out);
288 this->writeWord(word2, out);
294 this->writeWord(word1, out);
295 this->writeWord(word2, out);
296 this->writeWord(word3, out);
302 this->writeWord(word1, out);
303 this->writeWord(word2, out);
304 this->writeWord(word3, out);
305 this->writeWord(word4, out);
312 this->writeWord(word1, out);
313 this->writeWord(word2, out);
314 this->writeWord(word3, out);
315 this->writeWord(word4, out);
316 this->writeWord(word5, out);
323 this->writeWord(word1, out);
324 this->writeWord(word2, out);
325 this->writeWord(word3, out);
326 this->writeWord(word4, out);
327 this->writeWord(word5, out);
328 this->writeWord(word6, out);
335 this->writeWord(word1, out);
336 this->writeWord(word2, out);
337 this->writeWord(word3, out);
338 this->writeWord(word4, out);
339 this->writeWord(word5, out);
340 this->writeWord(word6, out);
341 this->writeWord(word7, out);
349 this->writeWord(word1, out);
350 this->writeWord(word2, out);
351 this->writeWord(word3, out);
352 this->writeWord(word4, out);
353 this->writeWord(word5, out);
354 this->writeWord(word6, out);
355 this->writeWord(word7, out);
356 this->writeWord(word8, out);
387 this->writeWord(resultId, fConstantBuffer);
389 this->writeWord(id, fConstantBuffer);
606 this->writeWord(result, fConstantBuffer);
607 this->writeWord(returnType, fConstantBuffer);
609 this->writeWord(id, fConstantBuffer);
702 this->writeWord(this->getType(c.fType), out);
703 this->writeWord(result, out);
704 this->writeWord(fGLSLExtendedInstructions, out);
705 this->writeWord(intrinsicId, out);
707 this->writeWord(id, out);
723 this->writeWord(this->getType(c.fType), out);
724 this->writeWord(result, out);
729 this->writeWord(id, out);
760 this->writeWord(this->getType(a->fType.toCompound(fContext, vectorSize, 1)), out);
761 this->writeWord(vector, out);
763 this->writeWord(raw, out);
778 this->writeWord(this->getType(type), out);
779 this->writeWord(id, out);
780 this->writeWord(fGLSLExtendedInstructions, out);
783 this->writeWord(floatInst, out);
785 this->writeWord(signedInst, out);
787 this->writeWord(unsignedInst, out);
792 this->writeWord(a, out);
806 this->writeWord(this->getType(c.fType), out);
807 this->writeWord(result, out);
808 this->writeWord(fGLSLExtendedInstructions, out);
809 this->writeWord(arguments.size() == 2 ? GLSLstd450Atan2 : GLSLstd450Atan, out);
811 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);
1006 this->writeWord(this->getType(c.fType), out);
1007 this->writeWord(result, out);
1008 this->writeWord(entry->second, out);
1010 this->writeWord(id, out);
1033 this->writeWord(type, fConstantBuffer);
1034 this->writeWord(result, fConstantBuffer);
1036 this->writeWord(arguments[0], fConstantBuffer);
1041 this->writeWord(type, fConstantBuffer);
1042 this->writeWord(result, fConstantBuffer);
1044 this->writeWord(id, fConstantBuffer);
1110 this->writeWord(this->getType(type.componentType().toCompound(fContext, type.rows(), 1)),
1113 this->writeWord(columnId, out);
1116 this->writeWord(row == column ? diagonal : zeroId, out);
1121 this->writeWord(this->getType(type), out);
1122 this->writeWord(id, out);
1124 this->writeWord(id, out);
1166 this->writeWord(dstColumnType, out);
1167 this->writeWord(dstColumn, out);
1168 this->writeWord(srcColumn, out);
1170 this->writeWord(zeroId, out);
1178 this->writeWord(dstColumnType, out);
1179 this->writeWord(dstColumn, out);
1180 this->writeWord(srcColumn, out);
1181 this->writeWord(srcColumn, out);
1183 this->writeWord(i, out);
1192 this->writeWord(dstColumnType, out);
1193 this->writeWord(zeroColumn, out);
1195 this->writeWord(zeroId, out);
1202 this->writeWord(this->getType(dstType), out);
1203 this->writeWord(id, out);
1205 this->writeWord(columns[i], out);
1268 this->writeWord(this->getType(c.fType.componentType().toCompound(fContext, rows,
1272 this->writeWord(columnId, out);
1275 this->writeWord(id, out);
1284 this->writeWord(this->getType(c.fType), out);
1285 this->writeWord(result, out);
1287 this->writeWord(id, out);
1384 this->writeWord(this->getType(c.fType), out);
1385 this->writeWord(result, out);
1387 this->writeWord(arguments[0], out);
1392 this->writeWord(this->getType(c.fType), out);
1393 this->writeWord(result, out);
1395 writeWord(id, out);
1411 this->writeWord(this->getType(c.fType), out);
1412 this->writeWord(result, out);
1414 this->writeWord(id, out);
1557 fGen.writeWord(fGen.getType(fSwizzleType), out);
1558 fGen.writeWord(result, out);
1559 fGen.writeWord(base, out);
1560 fGen.writeWord(base, out);
1562 fGen.writeWord(component, out);
1582 fGen.writeWord(fGen.getType(fBaseType), out);
1583 fGen.writeWord(shuffle, out);
1584 fGen.writeWord(base, out);
1585 fGen.writeWord(value, out);
1600 fGen.writeWord(offset, out);
1636 this->writeWord(this->getPointerType(expr.fType, get_storage_class(expr)), out);
1637 this->writeWord(member, out);
1639 this->writeWord(idx, out);
1756 this->writeWord(this->getPointerType(*fContext.fFloat_Type, SpvStorageClassUniform), out);
1757 this->writeWord(heightPtr, out);
1758 this->writeWord(fRTHeightStructId, out);
1759 this->writeWord(fieldIndexId, out);
1777 this->writeWord(this->getType(*fContext.fFloat4_Type), out);
1778 this->writeWord(flipped, out);
1779 this->writeWord(xId, out);
1780 this->writeWord(flippedYId, out);
1781 this->writeWord(zeroId, out);
1782 this->writeWord(wId, out);
1822 this->writeWord(this->getType(swizzle.fType), out);
1823 this->writeWord(result, out);
1824 this->writeWord(base, out);
1825 this->writeWord(base, out);
1827 this->writeWord(component, out);
1939 this->writeWord(this->getType(operandType), out);
1940 this->writeWord(result, out);
1942 this->writeWord(columns[i], out);
1990 this->writeWord(this->getType(vecType), out);
1991 this->writeWord(vec, out);
1993 this->writeWord(rhs, out);
2003 this->writeWord(this->getType(vecType), out);
2004 this->writeWord(vec, out);
2006 this->writeWord(lhs, out);
2983 this->writeWord(value, out);
2984 this->writeWord(defaultLabel, out);
2990 this->writeWord(((IntLiteral&) *s.fCases[i]->fValue).fValue, out);
2991 this->writeWord(labels[i], out);
3166 this->writeWord(SpvExecutionModelVertex, out);
3169 this->writeWord(SpvExecutionModelFragment, out);
3172 this->writeWord(SpvExecutionModelGeometry, out);
3178 this->writeWord(entryPoint, out);
3181 this->writeWord(var, out);
3208 this->writeWord(SpvMagicNumber, *fOut);
3209 this->writeWord(SpvVersion, *fOut);
3210 this->writeWord(SKSL_MAGIC, *fOut);
3213 this->writeWord(fIdCount, *fOut);
3214 this->writeWord(0, *fOut); // reserved, always zero