Home
last modified time | relevance | path

Searched refs:canCoerce (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/sksl/
DSkSLMetalCodeGenerator.h191 bool canCoerce(const Type& t1, const Type& t2);
DSkSLMetalCodeGenerator.cpp353 bool MetalCodeGenerator::canCoerce(const Type& t1, const Type& t2) { in canCoerce() function in SkSL::MetalCodeGenerator
358 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()
/external/skia/src/sksl/
DSkSLMetalCodeGenerator.h195 bool canCoerce(const Type& t1, const Type& t2);
DSkSLMetalCodeGenerator.cpp451 bool MetalCodeGenerator::canCoerce(const Type& t1, const Type& t2) { in canCoerce() function in SkSL::MetalCodeGenerator
456 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()