• Home
  • Raw
  • Download

Lines Matching refs:OutputStream

99         virtual SpvId load(OutputStream& out) = 0;
101 virtual void store(SpvId value, OutputStream& out) = 0;
105 OutputStream* out)
170 std::vector<SpvId> getAccessChain(const Expression& expr, OutputStream& out);
178 void writeProgramElement(const ProgramElement& pe, OutputStream& out);
182 SpvId writeFunctionStart(const FunctionDeclaration& f, OutputStream& out);
184 SpvId writeFunctionDeclaration(const FunctionDeclaration& f, OutputStream& out);
186 SpvId writeFunction(const FunctionDefinition& f, OutputStream& out);
188 void writeGlobalVars(Program::Kind kind, const VarDeclarations& v, OutputStream& out);
190 void writeVarDeclarations(const VarDeclarations& decl, OutputStream& out);
192 SpvId writeVariableReference(const VariableReference& ref, OutputStream& out);
194 std::unique_ptr<LValue> getLValue(const Expression& value, OutputStream& out);
196 SpvId writeExpression(const Expression& expr, OutputStream& out);
198 SpvId writeIntrinsicCall(const FunctionCall& c, OutputStream& out);
200 SpvId writeFunctionCall(const FunctionCall& c, OutputStream& out);
205 const std::vector<SpvId>& args, OutputStream& out);
214 OutputStream& out);
216 SpvId writeSpecialIntrinsic(const FunctionCall& c, SpecialIntrinsic kind, OutputStream& out);
220 SpvId writeFloatConstructor(const Constructor& c, OutputStream& out);
222 SpvId writeIntConstructor(const Constructor& c, OutputStream& out);
224 SpvId writeUIntConstructor(const Constructor& c, OutputStream& out);
230 void writeUniformScaleMatrix(SpvId id, SpvId diagonal, const Type& type, OutputStream& out);
238 OutputStream& out);
242 OutputStream& out);
244 SpvId writeMatrixConstructor(const Constructor& c, OutputStream& out);
246 SpvId writeVectorConstructor(const Constructor& c, OutputStream& out);
248 SpvId writeArrayConstructor(const Constructor& c, OutputStream& out);
250 SpvId writeConstructor(const Constructor& c, OutputStream& out);
252 SpvId writeFieldAccess(const FieldAccess& f, OutputStream& out);
254 SpvId writeSwizzle(const Swizzle& swizzle, OutputStream& out);
262 SpvId foldToBool(SpvId id, const Type& operandType, SpvOp op, OutputStream& out);
266 SpvOp_ mergeOperator, OutputStream& out);
270 OutputStream& out);
274 SpvOp_ ifBool, OutputStream& out);
277 SpvOp_ ifUInt, OutputStream& out);
281 OutputStream& out);
283 SpvId writeBinaryExpression(const BinaryExpression& b, OutputStream& out);
285 SpvId writeTernaryExpression(const TernaryExpression& t, OutputStream& out);
287 SpvId writeIndexExpression(const IndexExpression& expr, OutputStream& out);
289 SpvId writeLogicalAnd(const BinaryExpression& b, OutputStream& out);
291 SpvId writeLogicalOr(const BinaryExpression& o, OutputStream& out);
293 SpvId writePrefixExpression(const PrefixExpression& p, OutputStream& out);
295 SpvId writePostfixExpression(const PostfixExpression& p, OutputStream& out);
303 void writeStatement(const Statement& s, OutputStream& out);
305 void writeBlock(const Block& b, OutputStream& out);
307 void writeIfStatement(const IfStatement& stmt, OutputStream& out);
309 void writeForStatement(const ForStatement& f, OutputStream& out);
311 void writeWhileStatement(const WhileStatement& w, OutputStream& out);
313 void writeDoStatement(const DoStatement& d, OutputStream& out);
315 void writeSwitchStatement(const SwitchStatement& s, OutputStream& out);
317 void writeReturnStatement(const ReturnStatement& r, OutputStream& out);
319 void writeCapabilities(OutputStream& out);
321 void writeInstructions(const Program& program, OutputStream& out);
323 void writeOpCode(SpvOp_ opCode, int length, OutputStream& out);
325 void writeWord(int32_t word, OutputStream& out);
327 void writeString(const char* string, size_t length, OutputStream& out);
329 void writeLabel(SpvId id, OutputStream& out);
331 void writeInstruction(SpvOp_ opCode, OutputStream& out);
333 void writeInstruction(SpvOp_ opCode, StringFragment string, OutputStream& out);
335 void writeInstruction(SpvOp_ opCode, int32_t word1, OutputStream& out);
337 void writeInstruction(SpvOp_ opCode, int32_t word1, StringFragment string, OutputStream& out);
340 OutputStream& out);
342 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, OutputStream& out);
345 OutputStream& out);
348 OutputStream& out);
351 int32_t word5, OutputStream& out);
354 int32_t word5, int32_t word6, OutputStream& out);
357 int32_t word5, int32_t word6, int32_t word7, OutputStream& out);
361 OutputStream& out);
363 void writeGeometryShaderExecutionMode(SpvId entryPoint, OutputStream& out);