Home
last modified time | relevance | path

Searched refs:constCtor (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLConstructorCompoundCast.cpp22 std::unique_ptr<Expression> constCtor) { in cast_constant_composite() argument
28 if (constCtor->is<ConstructorSplat>()) { in cast_constant_composite()
31 ConstructorSplat& splat = constCtor->as<ConstructorSplat>(); in cast_constant_composite()
33 context, constCtor->fLine, destType, in cast_constant_composite()
34 ConstructorScalarCast::Make(context, constCtor->fLine, scalarType, in cast_constant_composite()
38 if (constCtor->is<ConstructorDiagonalMatrix>() && destType.isMatrix()) { in cast_constant_composite()
41 ConstructorDiagonalMatrix& matrixCtor = constCtor->as<ConstructorDiagonalMatrix>(); in cast_constant_composite()
43 context, constCtor->fLine, destType, in cast_constant_composite()
44 ConstructorScalarCast::Make(context, constCtor->fLine, scalarType, in cast_constant_composite()
50 SkASSERT(numSlots == constCtor->type().slotCount()); in cast_constant_composite()
[all …]
DSkSLConstructorArrayCast.cpp20 std::unique_ptr<Expression> constCtor) { in cast_constant_array() argument
24 auto inputArgs = constCtor->as<ConstructorArray>().argumentSpan(); in cast_constant_array()
38 return ConstructorArray::Make(context, constCtor->fLine, destType, std::move(typecastArgs)); in cast_constant_array()