Home
last modified time | relevance | path

Searched refs:MakeScalarType (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/sksl/
DSkSLBuiltinTypes.cpp18 std::unique_ptr<Type> BuiltinTypes::MakeScalarType(const char* name, in MakeScalarType() function in SkSL::BuiltinTypes
89 : fFloat(MakeScalarType( in BuiltinTypes()
94 , fHalf(MakeScalarType("half", "h", Type::NumberKind::kFloat, /*priority=*/9)) in BuiltinTypes()
98 , fInt(MakeScalarType( in BuiltinTypes()
103 , fUInt(MakeScalarType( in BuiltinTypes()
108 , fShort(MakeScalarType("short", "s", Type::NumberKind::kSigned, /*priority=*/4)) in BuiltinTypes()
112 , fUShort(MakeScalarType("ushort", "S", Type::NumberKind::kUnsigned, /*priority=*/3)) in BuiltinTypes()
116 , fBool(MakeScalarType("bool", "b", Type::NumberKind::kBoolean, /*priority=*/0)) in BuiltinTypes()
DSkSLBuiltinTypes.h135 static std::unique_ptr<Type> MakeScalarType(const char* name, const char* abbrev,