Searched refs:canCoerce (Results 1 – 4 of 4) sorted by relevance
191 bool canCoerce(const Type& t1, const Type& t2);
353 bool MetalCodeGenerator::canCoerce(const Type& t1, const Type& t2) { in canCoerce() function in SkSL::MetalCodeGenerator358 return this->canCoerce(t1.componentType(), t2.componentType()); in canCoerce()365 if (c.fArguments.size() == 1 && this->canCoerce(c.fType, c.fArguments[0]->fType)) { in writeConstructor()
195 bool canCoerce(const Type& t1, const Type& t2);
451 bool MetalCodeGenerator::canCoerce(const Type& t1, const Type& t2) { in canCoerce() function in SkSL::MetalCodeGenerator456 return this->canCoerce(t1.componentType(), t2.componentType()); in canCoerce()462 if (c.fArguments.size() == 1 && this->canCoerce(c.fType, c.fArguments[0]->fType)) { in writeConstructor()