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