Lines Matching refs:fArguments
488 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
489 if (c.fArguments[0]->fType != *fContext.fInt_Type) in writeFunctionCall()
507 c.fArguments.size() == 2 && in writeFunctionCall()
508 c.fArguments[1]->fKind == Expression::kPrefix_Kind) { in writeFunctionCall()
509 const PrefixExpression& p = (PrefixExpression&) *c.fArguments[1]; in writeFunctionCall()
512 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
538 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
539 this->writeDeterminantHack(*c.fArguments[0]); in writeFunctionCall()
545 SkASSERT(c.fArguments.size() == 3); in writeFunctionCall()
547 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
549 this->writeExpression(*c.fArguments[1], kSequence_Precedence); in writeFunctionCall()
551 this->writeExpression(*c.fArguments[2], kSequence_Precedence); in writeFunctionCall()
558 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
560 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
562 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
569 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
570 this->writeInverseHack(*c.fArguments[0]); in writeFunctionCall()
576 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
577 this->writeInverseSqrtHack(*c.fArguments[0]); in writeFunctionCall()
583 SkASSERT(c.fArguments.size() == 2); in writeFunctionCall()
584 if (is_abs(*c.fArguments[0])) { in writeFunctionCall()
585 this->writeMinAbsHack(*c.fArguments[0], *c.fArguments[1]); in writeFunctionCall()
588 if (is_abs(*c.fArguments[1])) { in writeFunctionCall()
591 this->writeMinAbsHack(*c.fArguments[1], *c.fArguments[0]); in writeFunctionCall()
606 this->writeExpression(*c.fArguments[1], kMultiplicative_Precedence); in writeFunctionCall()
608 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
612 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
614 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
620 switch (c.fArguments[0]->fType.dimensions()) { in writeFunctionCall()
624 if (c.fArguments[1]->fType == *fContext.fFloat_Type) { in writeFunctionCall()
627 SkASSERT(c.fArguments[1]->fType == *fContext.fFloat2_Type); in writeFunctionCall()
633 if (c.fArguments[0]->fType != *fContext.fSamplerExternalOES_Type) { in writeFunctionCall()
636 if (c.fArguments[1]->fType == *fContext.fFloat2_Type) { in writeFunctionCall()
639 SkASSERT(c.fArguments[1]->fType == *fContext.fFloat3_Type); in writeFunctionCall()
646 if (c.fArguments[1]->fType == *fContext.fFloat3_Type) { in writeFunctionCall()
649 SkASSERT(c.fArguments[1]->fType == *fContext.fFloat4_Type); in writeFunctionCall()
685 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
686 this->writeTransposeHack(*c.fArguments[0]); in writeFunctionCall()
697 for (const auto& arg : c.fArguments) { in writeFunctionCall()
709 if (c.fArguments.size() == 1 && in writeFunctionCall()
710 (this->getTypeName(c.fType) == this->getTypeName(c.fArguments[0]->fType) || in writeFunctionCall()
712 c.fArguments[0]->fType == *fContext.fFloatLiteral_Type))) { in writeFunctionCall()
716 this->writeExpression(*c.fArguments[0], parentPrecedence); in writeFunctionCall()
722 for (const auto& arg : c.fArguments) { in writeFunctionCall()