Home
last modified time | relevance | path

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

/third_party/skia/tests/
DSkSLTypeTest.cpp35 REPORTER_ASSERT(r, context.fTypes.fUShort->minimumValue() == ushort_limits::min()); in DEF_TEST()
36 REPORTER_ASSERT(r, context.fTypes.fUShort->maximumValue() == ushort_limits::max()); in DEF_TEST()
/third_party/skia/src/sksl/
DSkSLBuiltinTypes.cpp46 , fUShort(Type::MakeScalarType( in BuiltinTypes()
48 , fUShort2(Type::MakeVectorType("ushort2", "S2", *fUShort, /*columns=*/2)) in BuiltinTypes()
49 , fUShort3(Type::MakeVectorType("ushort3", "S3", *fUShort, /*columns=*/3)) in BuiltinTypes()
50 , fUShort4(Type::MakeVectorType("ushort4", "S4", *fUShort, /*columns=*/4)) in BuiltinTypes()
DSkSLUtil.cpp48 if (type == *context.fTypes.fUShort ) { *outType = kUShort_GrSLType; return true; } in type_to_grsltype()
DSkSLBuiltinTypes.h49 const std::unique_ptr<Type> fUShort; variable
DSkSLThreadContext.cpp119 symbols.addAlias("ushort", context.fTypes.fUShort.get()); in setupSymbolTable()
/third_party/skia/src/sksl/ir/
DSkSLType.cpp562 mediumpType = context.fTypes.fUShort.get(); in applyPrecisionQualifiers()
690 } else if (*this == *context.fTypes.fUShort) { in toCompound()
694 case 1: return *context.fTypes.fUShort; in toCompound()
/third_party/skia/src/sksl/dsl/
DDSLType.cpp153 return context.fTypes.fUShort.get(); in get_type_from_type_constant()
/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp131 else if (type == *fContext.fTypes.fUShort) { in getTypeName()
997 } else if (type == *fContext.fTypes.fUShort) { in writeLiteral()
1157 if (type == *fContext.fTypes.fShort || type == *fContext.fTypes.fUShort) { in getTypePrecision()
DSkSLMetalCodeGenerator.cpp1717 } else if (type == *fContext.fTypes.fUShort) { in writeLiteral()
DSkSLSPIRVCodeGenerator.cpp541 if (type.componentType() == *fContext.fTypes.fUShort) { in getActualType()