Lines Matching refs:fArguments
492 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
493 if (c.fArguments[0]->fType != *fContext.fInt_Type) in writeFunctionCall()
511 c.fArguments.size() == 2 && in writeFunctionCall()
512 c.fArguments[1]->fKind == Expression::kPrefix_Kind) { in writeFunctionCall()
513 const PrefixExpression& p = (PrefixExpression&) *c.fArguments[1]; in writeFunctionCall()
516 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
534 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
535 this->writeDeterminantHack(*c.fArguments[0]); in writeFunctionCall()
541 SkASSERT(c.fArguments.size() == 3); in writeFunctionCall()
543 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
545 this->writeExpression(*c.fArguments[1], kSequence_Precedence); in writeFunctionCall()
547 this->writeExpression(*c.fArguments[2], kSequence_Precedence); in writeFunctionCall()
554 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
556 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
558 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
565 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
566 this->writeInverseHack(*c.fArguments[0]); in writeFunctionCall()
572 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
573 this->writeInverseSqrtHack(*c.fArguments[0]); in writeFunctionCall()
579 SkASSERT(c.fArguments.size() == 2); in writeFunctionCall()
580 if (is_abs(*c.fArguments[0])) { in writeFunctionCall()
581 this->writeMinAbsHack(*c.fArguments[0], *c.fArguments[1]); in writeFunctionCall()
584 if (is_abs(*c.fArguments[1])) { in writeFunctionCall()
587 this->writeMinAbsHack(*c.fArguments[1], *c.fArguments[0]); in writeFunctionCall()
602 this->writeExpression(*c.fArguments[1], kMultiplicative_Precedence); in writeFunctionCall()
604 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
608 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
610 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
616 switch (c.fArguments[0]->fType.dimensions()) { in writeFunctionCall()
620 if (c.fArguments[1]->fType == *fContext.fFloat_Type) { in writeFunctionCall()
623 SkASSERT(c.fArguments[1]->fType == *fContext.fFloat2_Type); in writeFunctionCall()
629 if (c.fArguments[0]->fType != *fContext.fSamplerExternalOES_Type) { in writeFunctionCall()
632 if (c.fArguments[1]->fType == *fContext.fFloat2_Type) { in writeFunctionCall()
635 SkASSERT(c.fArguments[1]->fType == *fContext.fFloat3_Type); in writeFunctionCall()
642 if (c.fArguments[1]->fType == *fContext.fFloat3_Type) { in writeFunctionCall()
645 SkASSERT(c.fArguments[1]->fType == *fContext.fFloat4_Type); in writeFunctionCall()
681 SkASSERT(c.fArguments.size() == 1); in writeFunctionCall()
682 this->writeTransposeHack(*c.fArguments[0]); in writeFunctionCall()
693 for (const auto& arg : c.fArguments) { in writeFunctionCall()
705 if (c.fArguments.size() == 1 && in writeFunctionCall()
706 this->getTypeName(c.fType) == this->getTypeName(c.fArguments[0]->fType)) { in writeFunctionCall()
710 this->writeExpression(*c.fArguments[0], parentPrecedence); in writeFunctionCall()
716 for (const auto& arg : c.fArguments) { in writeFunctionCall()