Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/ir/
DSkSLConstructor.cpp37 argument->type().slotCount() > type.slotCount()) { in convert_compound_constructor()
43 switch (type.slotCount()) { in convert_compound_constructor()
97 if (type.isVector() && type.columns() == 4 && argument->type().slotCount() == 4) { in convert_compound_constructor()
177 SkASSERT(n >= 0 && n < (int)this->type().slotCount()); in getConstantValue()
179 int argSlots = arg->type().slotCount(); in getConstantValue()
191 SkASSERT(this->type().slotCount() == other.type().slotCount()); in compareConstant()
197 int exprs = this->type().slotCount(); in compareConstant()
DSkSLType.cpp63 size_t slotCount() const override { in slotCount() function in SkSL::ArrayType
65 return fCount * fComponentType.slotCount(); in slotCount()
134 size_t slotCount() const override { in slotCount() function in SkSL::LiteralType
185 size_t slotCount() const override { in slotCount() function in SkSL::ScalarType
235 size_t slotCount() const override { in slotCount() function in SkSL::MatrixType
356 size_t slotCount() const override { in slotCount() function in SkSL::StructType
359 slots += field.fType->slotCount(); in slotCount()
406 size_t slotCount() const override { in slotCount() function in SkSL::VectorType
821 int numSlots = valueExpr->type().slotCount(); in checkForOutOfRangeLiteral()
DSkSLConstructorCompound.cpp39 SkASSERT(type.slotCount() == in Make()
42 return n + arg->type().slotCount(); in Make()
DSkSLConstructorCompoundCast.cpp49 size_t numSlots = destType.slotCount(); in cast_constant_composite()
50 SkASSERT(numSlots == constCtor->type().slotCount()); in cast_constant_composite()
DSkSLFunctionCall.cpp65 int numSlots = returnType.slotCount(); in assemble_compound()
212 int slots = returnType.slotCount(); in evaluate_n_way_intrinsic()
427 size_t numSlots = expr->type().slotCount(); in extract_matrix()
696 switch (arguments[0]->type().slotCount()) { in optimize_intrinsic_call()
715 switch (arguments[0]->type().slotCount()) { in optimize_intrinsic_call()
DSkSLFunctionDefinition.cpp153 fSlotsUsed, stmt.as<VarDeclaration>().var().type().slotCount()); in Convert()
DSkSLType.h390 virtual size_t slotCount() const { in slotCount() function
DSkSLSwizzle.cpp146 int argSlots = argType.slotCount(); in optimize_constructor_swizzle()
/third_party/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp399 nslots = var.type().slotCount(); in setupGlobals()
444 SkASSERT(decl.returnType().slotCount() == outReturn.size()); in writeFunction()
456 nslots = p->type().slotCount(); in writeFunction()
470 size_t nslots = p->type().slotCount(); in writeFunction()
532 int nslots = type.slotCount(); in addDebugSlotInfo()
556 nslots = v.type().slotCount(); in getSlot()
638 SkASSERT(b.type().slotCount() == static_cast<size_t>(lRows * rCols)); in writeBinaryExpression()
749 Value result(c.type().slotCount()); in writeAggregationConstructor()
902 offset += (*expr.base()->type().fields()[i].fType).slotCount(); in fieldSlotOffset()
909 Value field(expr.type().slotCount()); in writeFieldAccess()
[all …]
DSkSLMetalCodeGenerator.cpp1577 for (int index = matrixType.slotCount(); index--;) { in writeNumberAsMatrix()
/third_party/skia/src/gpu/effects/
DGrSkSLFP.cpp57 size_t sizeInBytes = type->slotCount() * sizeof(float); in emitCode()
77 size_t slots = type->slotCount(); in emitCode()
/third_party/skia/src/sksl/
DSkSLConstantFolder.cpp158 int numSlots = expr.type().slotCount(); in contains_constant_zero()
169 int numSlots = expr.type().slotCount(); in is_constant_value()
DSkSLAnalysis.cpp539 fGlobalSlotsUsed = SkSafeMath::Add(fGlobalSlotsUsed, decl.var().type().slotCount()); in VerifyStaticTestsAndExpressions()