Home
last modified time | relevance | path

Searched refs:toCompound (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/src/sksl/
DSkSLOperators.cpp317 *outLeftType = &(*outResultType)->toCompound(context, left.columns(), left.rows()); in determineBinaryType()
318 *outRightType = &(*outResultType)->toCompound(context, right.columns(), right.rows()); in determineBinaryType()
327 *outResultType = &(*outResultType)->toCompound(context, rightColumns, leftRows); in determineBinaryType()
330 *outResultType = &(*outResultType)->toCompound(context, leftRows, rightColumns); in determineBinaryType()
349 *outLeftType = &(*outLeftType)->toCompound(context, left.columns(), left.rows()); in determineBinaryType()
351 *outResultType = &(*outResultType)->toCompound(context, left.columns(), left.rows()); in determineBinaryType()
365 *outRightType = &(*outRightType)->toCompound(context, right.columns(), right.rows()); in determineBinaryType()
367 *outResultType = &(*outResultType)->toCompound(context, right.columns(), right.rows()); in determineBinaryType()
/third_party/skia/src/sksl/ir/
DSkSLConstructor.cpp83 const Type& typecastType = type.componentType().toCompound( in convert_compound_constructor()
100 const Type& vectorType = argument->type().componentType().toCompound(context, in convert_compound_constructor()
129 const Type& ctorType = type.componentType().toCompound(context, arg->type().columns(), in convert_compound_constructor()
DSkSLSwizzle.cpp230 componentType.toCompound(context, swizzleSize, /*rows=*/1), in optimize_constructor_swizzle()
427 scalarType->toCompound(context, constantFieldIdx, /*rows=*/1), in Convert()
457 exprType.toCompound(context, components.size(), /*rows=*/1), in Make()
499 splat.type().componentType().toCompound(context, components.size(), /*rows=*/1), in Make()
DSkSLSwizzle.h28 &base->type().componentType().toCompound(context, components.size(), 1)) in Swizzle()
DSkSLIndexExpression.cpp129 const Type& vecType = scalarType.toCompound(context, vecWidth, /*rows=*/1); in Make()
DSkSLType.h493 const Type& toCompound(const Context& context, int columns, int rows) const;
DSkSLType.cpp574 : &mediumpType->toCompound(context, this->columns(), this->rows()); in applyPrecisionQualifiers()
583 const Type& Type::toCompound(const Context& context, int columns, int rows) const { in toCompound() function in SkSL::Type
DSkSLFunctionCall.cpp189 const Type& bvecType = context.fTypes.fBool->toCompound(context, type.columns(), /*rows=*/1); in optimize_comparison()
/third_party/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp536 return fContext.fTypes.fFloat->toCompound(fContext, type.columns(), type.rows()); in getActualType()
539 return fContext.fTypes.fInt->toCompound(fContext, type.columns(), type.rows()); in getActualType()
542 return fContext.fTypes.fUInt->toCompound(fContext, type.columns(), type.rows()); in getActualType()
917 this->writeWord(this->getType(argType.toCompound(fContext, vectorSize, 1)), out); in vectorize()
1489 this->writeWord(this->getType(type.componentType().toCompound( in writeUniformScaleMatrix()
1514 SpvId srcColumnType = this->getType(srcType.componentType().toCompound(fContext, in writeMatrixCopy()
1517 SpvId dstColumnType = this->getType(dstType.componentType().toCompound(fContext, in writeMatrixCopy()
1621 const Type& vecType = type.componentType().toCompound(fContext, /*columns=*/2, /*rows=*/1); in writeMatrixConstructor()
1628 const Type& columnType = type.componentType().toCompound(fContext, in writeMatrixConstructor()
2255 SpvId columnType = this->getType(operandType.componentType().toCompound(fContext, in writeMatrixComparison()
[all …]
DSkSLGLSLCodeGenerator.cpp418 String transposed = this->getTypeName(base.toCompound(fContext, in writeTransposeHack()
DSkSLMetalCodeGenerator.cpp1235 const Type& columnType = matrixType.componentType().toCompound( in writeConstructorCompoundMatrix()