Lines Matching refs:OutputStream

98         virtual SpvId load(OutputStream& out) = 0;
100 virtual void store(SpvId value, OutputStream& out) = 0;
104 OutputStream* out)
168 std::vector<SpvId> getAccessChain(const Expression& expr, OutputStream& out);
176 void writeProgramElement(const ProgramElement& pe, OutputStream& out);
180 SpvId writeFunctionStart(const FunctionDeclaration& f, OutputStream& out);
182 SpvId writeFunctionDeclaration(const FunctionDeclaration& f, OutputStream& out);
184 SpvId writeFunction(const FunctionDefinition& f, OutputStream& out);
186 void writeGlobalVars(Program::Kind kind, const VarDeclarations& v, OutputStream& out);
188 void writeVarDeclarations(const VarDeclarations& decl, OutputStream& out);
190 SpvId writeVariableReference(const VariableReference& ref, OutputStream& out);
192 std::unique_ptr<LValue> getLValue(const Expression& value, OutputStream& out);
194 SpvId writeExpression(const Expression& expr, OutputStream& out);
196 SpvId writeIntrinsicCall(const FunctionCall& c, OutputStream& out);
198 SpvId writeFunctionCall(const FunctionCall& c, OutputStream& out);
203 const std::vector<SpvId>& args, OutputStream& out);
212 OutputStream& out);
214 SpvId writeSpecialIntrinsic(const FunctionCall& c, SpecialIntrinsic kind, OutputStream& out);
218 SpvId writeFloatConstructor(const Constructor& c, OutputStream& out);
220 SpvId writeIntConstructor(const Constructor& c, OutputStream& out);
222 SpvId writeUIntConstructor(const Constructor& c, OutputStream& out);
228 void writeUniformScaleMatrix(SpvId id, SpvId diagonal, const Type& type, OutputStream& out);
236 OutputStream& out);
240 OutputStream& out);
242 SpvId writeMatrixConstructor(const Constructor& c, OutputStream& out);
244 SpvId writeVectorConstructor(const Constructor& c, OutputStream& out);
246 SpvId writeArrayConstructor(const Constructor& c, OutputStream& out);
248 SpvId writeConstructor(const Constructor& c, OutputStream& out);
250 SpvId writeFieldAccess(const FieldAccess& f, OutputStream& out);
252 SpvId writeSwizzle(const Swizzle& swizzle, OutputStream& out);
260 SpvId foldToBool(SpvId id, const Type& operandType, SpvOp op, OutputStream& out);
264 SpvOp_ mergeOperator, OutputStream& out);
268 OutputStream& out);
272 SpvOp_ ifBool, OutputStream& out);
275 SpvOp_ ifUInt, OutputStream& out);
279 OutputStream& out);
281 SpvId writeBinaryExpression(const BinaryExpression& b, OutputStream& out);
283 SpvId writeTernaryExpression(const TernaryExpression& t, OutputStream& out);
285 SpvId writeIndexExpression(const IndexExpression& expr, OutputStream& out);
287 SpvId writeLogicalAnd(const BinaryExpression& b, OutputStream& out);
289 SpvId writeLogicalOr(const BinaryExpression& o, OutputStream& out);
291 SpvId writePrefixExpression(const PrefixExpression& p, OutputStream& out);
293 SpvId writePostfixExpression(const PostfixExpression& p, OutputStream& out);
301 void writeStatement(const Statement& s, OutputStream& out);
303 void writeBlock(const Block& b, OutputStream& out);
305 void writeIfStatement(const IfStatement& stmt, OutputStream& out);
307 void writeForStatement(const ForStatement& f, OutputStream& out);
309 void writeWhileStatement(const WhileStatement& w, OutputStream& out);
311 void writeDoStatement(const DoStatement& d, OutputStream& out);
313 void writeSwitchStatement(const SwitchStatement& s, OutputStream& out);
315 void writeReturnStatement(const ReturnStatement& r, OutputStream& out);
317 void writeCapabilities(OutputStream& out);
319 void writeInstructions(const Program& program, OutputStream& out);
321 void writeOpCode(SpvOp_ opCode, int length, OutputStream& out);
323 void writeWord(int32_t word, OutputStream& out);
325 void writeString(const char* string, size_t length, OutputStream& out);
327 void writeLabel(SpvId id, OutputStream& out);
329 void writeInstruction(SpvOp_ opCode, OutputStream& out);
331 void writeInstruction(SpvOp_ opCode, StringFragment string, OutputStream& out);
333 void writeInstruction(SpvOp_ opCode, int32_t word1, OutputStream& out);
335 void writeInstruction(SpvOp_ opCode, int32_t word1, StringFragment string, OutputStream& out);
338 OutputStream& out);
340 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, OutputStream& out);
343 OutputStream& out);
346 OutputStream& out);
349 int32_t word5, OutputStream& out);
352 int32_t word5, int32_t word6, OutputStream& out);
355 int32_t word5, int32_t word6, int32_t word7, OutputStream& out);
359 OutputStream& out);
361 void writeGeometryShaderExecutionMode(SpvId entryPoint, OutputStream& out);