Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/ir/
DSkSLConstructorScalarCast.cpp16 std::unique_ptr<Expression> ConstructorScalarCast::Convert(const Context& context, in Convert()
53 return ConstructorScalarCast::Make(context, line, type, std::move(args[0])); in Convert()
56 std::unique_ptr<Expression> ConstructorScalarCast::Make(const Context& context, in Make()
80 return std::make_unique<ConstructorScalarCast>(line, type, std::move(arg)); in Make()
DSkSLConstructorScalarCast.h25 class ConstructorScalarCast final : public SingleArgumentConstructor {
29 ConstructorScalarCast(int line, const Type& type, std::unique_ptr<Expression> arg) in ConstructorScalarCast() function
47 return std::make_unique<ConstructorScalarCast>(fLine, this->type(), argument()->clone()); in clone()
DSkSLConstructorCompoundCast.cpp34 ConstructorScalarCast::Make(context, constCtor->fLine, scalarType, in cast_constant_composite()
44 ConstructorScalarCast::Make(context, constCtor->fLine, scalarType, in cast_constant_composite()
DSkSLConstructor.cpp60 std::unique_ptr<Expression> typecast = ConstructorScalarCast::Convert( in convert_compound_constructor()
160 return ConstructorScalarCast::Convert(context, line, type, std::move(args)); in Convert()
DSkSLConstructorArrayCast.cpp30 typecastArgs.push_back(ConstructorScalarCast::Make(context, line, scalarType, in cast_constant_array()
DSkSLSwizzle.cpp402 constructorArgs.push_back(ConstructorScalarCast::Make( in Convert()
412 constructorArgs.push_back(ConstructorScalarCast::Make( in Convert()
DSkSLType.cpp764 return ConstructorScalarCast::Make(context, line, *this, std::move(expr)); in coerceExpression()
/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.h22 class ConstructorScalarCast; variable
DSkSLSPIRVCodeGenerator.h29 class ConstructorScalarCast; variable
321 SpvId writeConstructorScalarCast(const ConstructorScalarCast& c, OutputStream& out);
DSkSLSPIRVCodeGenerator.cpp779 return this->writeConstructorScalarCast(expr.as<ConstructorScalarCast>(), out); in writeExpression()
1751 SpvId SPIRVCodeGenerator::writeConstructorScalarCast(const ConstructorScalarCast& c, in writeConstructorScalarCast()
/third_party/skia/src/sksl/
DSkSLInliner.cpp374 const ConstructorScalarCast& ctor = expression.as<ConstructorScalarCast>(); in inlineExpression()
375 return ConstructorScalarCast::Make(*fContext, line, in inlineExpression()
DSkSLDehydrator.cpp319 this->writeExpressionSpan(e->as<ConstructorScalarCast>().argumentSpan()); in write()
DSkSLRehydrator.cpp450 return ConstructorScalarCast::Make(fContext, /*line=*/-1, *type, std::move(args[0])); in expression()