• Home
  • Raw
  • Download

Lines Matching refs:OutputStream

122         virtual SpvId load(OutputStream& out) = 0;
124 virtual void store(SpvId value, OutputStream& out) = 0;
129 OutputStream* out)
202 std::vector<SpvId> getAccessChain(const Expression& expr, OutputStream& out);
210 void writeProgramElement(const ProgramElement& pe, OutputStream& out);
214 SpvId writeFunctionStart(const FunctionDeclaration& f, OutputStream& out);
216 SpvId writeFunctionDeclaration(const FunctionDeclaration& f, OutputStream& out);
218 SpvId writeFunction(const FunctionDefinition& f, OutputStream& out);
222 void writeVarDeclaration(const VarDeclaration& var, OutputStream& out);
224 SpvId writeVariableReference(const VariableReference& ref, OutputStream& out);
228 std::unique_ptr<LValue> getLValue(const Expression& value, OutputStream& out);
230 SpvId writeExpression(const Expression& expr, OutputStream& out);
232 SpvId writeIntrinsicCall(const FunctionCall& c, OutputStream& out);
237 OutputStream& out);
239 void copyBackTempVars(const std::vector<TempVar>& tempVars, OutputStream& out);
241 SpvId writeFunctionCall(const FunctionCall& c, OutputStream& out);
246 const std::vector<SpvId>& args, OutputStream& out);
254 SpvId vectorize(const Expression& expr, int vectorSize, OutputStream& out);
262 std::vector<SpvId> vectorize(const ExpressionArray& args, OutputStream& out);
264 SpvId writeSpecialIntrinsic(const FunctionCall& c, SpecialIntrinsic kind, OutputStream& out);
268 SpvId writeScalarToMatrixSplat(const Type& matrixType, SpvId scalarId, OutputStream& out);
270 SpvId writeFloatConstructor(const AnyConstructor& c, OutputStream& out);
273 OutputStream& out);
275 SpvId writeIntConstructor(const AnyConstructor& c, OutputStream& out);
278 OutputStream& out);
280 SpvId writeUIntConstructor(const AnyConstructor& c, OutputStream& out);
283 OutputStream& out);
285 SpvId writeBooleanConstructor(const AnyConstructor& c, OutputStream& out);
288 OutputStream& out);
291 OutputStream& out);
297 void writeUniformScaleMatrix(SpvId id, SpvId diagonal, const Type& type, OutputStream& out);
304 SpvId writeMatrixCopy(SpvId src, const Type& srcType, const Type& dstType, OutputStream& out);
307 std::vector<SpvId>* columnIds, int rows, SpvId entry, OutputStream& out);
309 SpvId writeConstructorCompound(const ConstructorCompound& c, OutputStream& out);
311 SpvId writeMatrixConstructor(const ConstructorCompound& c, OutputStream& out);
313 SpvId writeVectorConstructor(const ConstructorCompound& c, OutputStream& out);
315 SpvId writeCompositeConstructor(const AnyConstructor& c, OutputStream& out);
317 SpvId writeConstructorDiagonalMatrix(const ConstructorDiagonalMatrix& c, OutputStream& out);
319 SpvId writeConstructorMatrixResize(const ConstructorMatrixResize& c, OutputStream& out);
321 SpvId writeConstructorScalarCast(const ConstructorScalarCast& c, OutputStream& out);
323 SpvId writeConstructorSplat(const ConstructorSplat& c, OutputStream& out);
325 SpvId writeConstructorCompoundCast(const ConstructorCompoundCast& c, OutputStream& out);
327 SpvId writeComposite(const std::vector<SpvId>& arguments, const Type& type, OutputStream& out);
329 SpvId writeFieldAccess(const FieldAccess& f, OutputStream& out);
331 SpvId writeSwizzle(const Swizzle& swizzle, OutputStream& out);
339 SpvId foldToBool(SpvId id, const Type& operandType, SpvOp op, OutputStream& out);
343 SpvOp_ mergeOperator, OutputStream& out);
346 OutputStream& out);
349 OutputStream& out);
355 SpvId mergeComparisons(SpvId comparison, SpvId allComparisons, Operator op, OutputStream& out);
358 SpvOp_ op, OutputStream& out);
362 SpvOp_ ifBool, OutputStream& out);
365 SpvOp_ ifUInt, OutputStream& out);
367 SpvId writeReciprocal(const Type& type, SpvId value, OutputStream& out);
371 OutputStream& out);
373 SpvId writeBinaryExpression(const BinaryExpression& b, OutputStream& out);
375 SpvId writeTernaryExpression(const TernaryExpression& t, OutputStream& out);
377 SpvId writeIndexExpression(const IndexExpression& expr, OutputStream& out);
379 SpvId writeLogicalAnd(const Expression& left, const Expression& right, OutputStream& out);
381 SpvId writeLogicalOr(const Expression& left, const Expression& right, OutputStream& out);
383 SpvId writePrefixExpression(const PrefixExpression& p, OutputStream& out);
385 SpvId writePostfixExpression(const PostfixExpression& p, OutputStream& out);
391 void writeStatement(const Statement& s, OutputStream& out);
393 void writeBlock(const Block& b, OutputStream& out);
395 void writeIfStatement(const IfStatement& stmt, OutputStream& out);
397 void writeForStatement(const ForStatement& f, OutputStream& out);
399 void writeDoStatement(const DoStatement& d, OutputStream& out);
401 void writeSwitchStatement(const SwitchStatement& s, OutputStream& out);
403 void writeReturnStatement(const ReturnStatement& r, OutputStream& out);
405 void writeCapabilities(OutputStream& out);
407 void writeInstructions(const Program& program, OutputStream& out);
409 void writeOpCode(SpvOp_ opCode, int length, OutputStream& out);
411 void writeWord(int32_t word, OutputStream& out);
413 void writeString(skstd::string_view s, OutputStream& out);
415 void writeLabel(SpvId id, OutputStream& out);
417 void writeInstruction(SpvOp_ opCode, OutputStream& out);
419 void writeInstruction(SpvOp_ opCode, skstd::string_view string, OutputStream& out);
421 void writeInstruction(SpvOp_ opCode, int32_t word1, OutputStream& out);
424 OutputStream& out);
427 OutputStream& out);
429 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, OutputStream& out);
432 OutputStream& out);
435 OutputStream& out);
438 int32_t word5, OutputStream& out);
441 int32_t word5, int32_t word6, OutputStream& out);
444 int32_t word5, int32_t word6, int32_t word7, OutputStream& out);
448 OutputStream& out);