Home
last modified time | relevance | path

Searched refs:toCompound (Results 1 – 16 of 16) 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/flutter/skia/src/sksl/ir/
DSkSLType.cpp50 const Type& Type::toCompound(const Context& context, int columns, int rows) const { in toCompound() function in SkSL::Type
DSkSLType.h416 const Type& toCompound(const Context& context, int columns, int rows) const;
/third_party/flutter/skia/src/sksl/
DSkSLSPIRVCodeGenerator.cpp458 return fContext.fFloat_Type->toCompound(fContext, type.columns(), type.rows()); in getActualType()
462 return fContext.fInt_Type->toCompound(fContext, type.columns(), type.rows()); in getActualType()
466 return fContext.fUInt_Type->toCompound(fContext, type.columns(), type.rows()); in getActualType()
780 this->writeWord(this->getType(a->fType.toCompound(fContext, vectorSize, 1)), out); in vectorize()
1159 this->writeWord(this->getType(type.componentType().toCompound(fContext, type.rows(), 1)), in writeUniformScaleMatrix()
1184 SpvId srcColumnType = this->getType(srcType.componentType().toCompound(fContext, in writeMatrixCopy()
1187 SpvId dstColumnType = this->getType(dstType.componentType().toCompound(fContext, in writeMatrixCopy()
1312 SpvId columnType = this->getType(c.fType.componentType().toCompound(fContext, 2, 1)); in writeMatrixConstructor()
1320 SpvId columnType = this->getType(c.fType.componentType().toCompound(fContext, rows, 1)); in writeMatrixConstructor()
2000 SpvId columnType = this->getType(operandType.componentType().toCompound(fContext, in writeMatrixComparison()
[all …]
DSkSLIRGenerator.cpp1363 *outLeftType = &(*outResultType)->toCompound(context, left.columns(), in determine_binary_type()
1365 *outRightType = &(*outResultType)->toCompound(context, right.columns(), in determine_binary_type()
1382 *outResultType = &(*outResultType)->toCompound(context, rightColumns, in determine_binary_type()
1386 *outResultType = &(*outResultType)->toCompound(context, leftRows, in determine_binary_type()
1456 *outLeftType = &(*outLeftType)->toCompound(context, left.columns(), left.rows()); in determine_binary_type()
1458 *outResultType = &(*outResultType)->toCompound(context, left.columns(), in determine_binary_type()
DSkSLGLSLCodeGenerator.cpp428 String transposed = this->getTypeName(base.toCompound(fContext, in writeTransposeHack()
/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()