Home
last modified time | relevance | path

Searched refs:fUShort (Results 1 – 9 of 9) sorted by relevance

/external/skia/tests/
DSkSLTypeTest.cpp32 REPORTER_ASSERT(r, types.fUShort->minimumValue() == ushort_limits::lowest()); in DEF_TEST()
33 REPORTER_ASSERT(r, types.fUShort->maximumValue() == ushort_limits::max()); in DEF_TEST()
/external/skia/src/sksl/
DSkSLBuiltinTypes.cpp44 , fUShort(Type::MakeScalarType( in BuiltinTypes()
46 , fUShort2(Type::MakeVectorType("ushort2", "S2", *fUShort, /*columns=*/2)) in BuiltinTypes()
47 , fUShort3(Type::MakeVectorType("ushort3", "S3", *fUShort, /*columns=*/3)) in BuiltinTypes()
48 , fUShort4(Type::MakeVectorType("ushort4", "S4", *fUShort, /*columns=*/4)) in BuiltinTypes()
DSkSLUtil.cpp59 if (type.matches(*context.fTypes.fUShort )) { *outType = SkSLType::kUShort; return true; } in type_to_sksltype()
DSkSLBuiltinTypes.h49 const std::unique_ptr<Type> fUShort; variable
/external/skia/src/sksl/ir/
DSkSLType.cpp819 mediumpType = context.fTypes.fUShort.get(); in applyPrecisionQualifiers()
982 } else if (this->matches(*context.fTypes.fUShort)) { in toCompound()
986 case 1: return *context.fTypes.fUShort; in toCompound()
/external/skia/src/sksl/dsl/
DDSLType.cpp170 return context.fTypes.fUShort.get(); in get_type_from_type_constant()
/external/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp180 else if (type.matches(*fContext.fTypes.fUShort)) { in getTypeName()
1103 } else if (type.matches(*fContext.fTypes.fUShort)) { in writeLiteral()
1283 type.matches(*fContext.fTypes.fUShort)) { in getTypePrecision()
DSkSLWGSLCodeGenerator.cpp1009 } else if (type.matches(*fContext.fTypes.fUShort)) { in writeLiteral()
DSkSLMetalCodeGenerator.cpp1952 } else if (type.matches(*fContext.fTypes.fUShort)) { in writeLiteral()