Home
last modified time | relevance | path

Searched refs:ConstructorDiagonalMatrix (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLConstructorDiagonalMatrix.h26 class ConstructorDiagonalMatrix final : public SingleArgumentConstructor {
30 ConstructorDiagonalMatrix(int line, const Type& type, std::unique_ptr<Expression> arg) in ConstructorDiagonalMatrix() function
39 return std::make_unique<ConstructorDiagonalMatrix>(fLine, this->type(), in clone()
DSkSLConstructorDiagonalMatrix.cpp16 std::unique_ptr<Expression> ConstructorDiagonalMatrix::Make(const Context& context, in Make()
29 return std::make_unique<ConstructorDiagonalMatrix>(line, type, std::move(arg)); in Make()
32 skstd::optional<double> ConstructorDiagonalMatrix::getConstantValue(int n) const { in getConstantValue()
DSkSLConstructorCompoundCast.cpp38 if (constCtor->is<ConstructorDiagonalMatrix>() && destType.isMatrix()) { in cast_constant_composite()
41 ConstructorDiagonalMatrix& matrixCtor = constCtor->as<ConstructorDiagonalMatrix>(); in cast_constant_composite()
42 return ConstructorDiagonalMatrix::Make( in cast_constant_composite()
DSkSLPrefixExpression.cpp60 const ConstructorDiagonalMatrix& ctor = value->as<ConstructorDiagonalMatrix>(); in simplify_negation()
63 return ConstructorDiagonalMatrix::Make(context, originalExpr.fLine, ctor.type(), in simplify_negation()
DSkSLConstructor.cpp68 ? ConstructorDiagonalMatrix::Make(context, line, type, std::move(typecast)) in convert_compound_constructor()
/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.h21 class ConstructorDiagonalMatrix; variable
124 void writeConstructorDiagonalMatrix(const ConstructorDiagonalMatrix& c,
DSkSLSPIRVCodeGenerator.h27 class ConstructorDiagonalMatrix; variable
317 SpvId writeConstructorDiagonalMatrix(const ConstructorDiagonalMatrix& c, OutputStream& out);
DSkSLGLSLCodeGenerator.cpp176 this->writeConstructorDiagonalMatrix(expr.as<ConstructorDiagonalMatrix>(), in writeExpression()
691 void GLSLCodeGenerator::writeConstructorDiagonalMatrix(const ConstructorDiagonalMatrix& c, in writeConstructorDiagonalMatrix()
DSkSLVMCodeGenerator.cpp214 Value writeConstructorDiagonalMatrix(const ConstructorDiagonalMatrix& c);
856 Value SkVMGenerator::writeConstructorDiagonalMatrix(const ConstructorDiagonalMatrix& ctor) { in writeConstructorDiagonalMatrix()
1519 return this->writeConstructorDiagonalMatrix(e.as<ConstructorDiagonalMatrix>()); in writeExpression()
DSkSLSPIRVCodeGenerator.cpp775 return this->writeConstructorDiagonalMatrix(expr.as<ConstructorDiagonalMatrix>(), out); in writeExpression()
1797 SpvId SPIRVCodeGenerator::writeConstructorDiagonalMatrix(const ConstructorDiagonalMatrix& c, in writeConstructorDiagonalMatrix()
/third_party/skia/src/sksl/
DSkSLInliner.cpp362 const ConstructorDiagonalMatrix& ctor = expression.as<ConstructorDiagonalMatrix>(); in inlineExpression()
363 return ConstructorDiagonalMatrix::Make(*fContext, line, in inlineExpression()
DSkSLDehydrator.cpp307 this->writeExpressionSpan(e->as<ConstructorDiagonalMatrix>().argumentSpan()); in write()
DSkSLRehydrator.cpp436 return ConstructorDiagonalMatrix::Make(fContext, /*line=*/-1, *type, in expression()