Home
last modified time | relevance | path

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

/third_party/skia/tests/
DSkSLTypeTest.cpp27 REPORTER_ASSERT(r, context.fTypes.fShort->minimumValue() == short_limits::min()); in DEF_TEST()
28 REPORTER_ASSERT(r, context.fTypes.fShort->maximumValue() == short_limits::max()); in DEF_TEST()
/third_party/skia/src/sksl/
DSkSLBuiltinTypes.cpp41 , fShort(Type::MakeScalarType( in BuiltinTypes()
43 , fShort2(Type::MakeVectorType("short2", "s2", *fShort, /*columns=*/2)) in BuiltinTypes()
44 , fShort3(Type::MakeVectorType("short3", "s3", *fShort, /*columns=*/3)) in BuiltinTypes()
45 , fShort4(Type::MakeVectorType("short4", "s4", *fShort, /*columns=*/4)) in BuiltinTypes()
DSkSLUtil.cpp44 if (type == *context.fTypes.fShort ) { *outType = kShort_GrSLType; return true; } in type_to_grsltype()
DSkSLBuiltinTypes.h44 const std::unique_ptr<Type> fShort; variable
DSkSLThreadContext.cpp114 symbols.addAlias("short", context.fTypes.fShort.get()); in setupSymbolTable()
/third_party/skia/src/sksl/ir/
DSkSLType.cpp558 mediumpType = context.fTypes.fShort.get(); in applyPrecisionQualifiers()
666 } else if (*this == *context.fTypes.fShort) { in toCompound()
670 case 1: return *context.fTypes.fShort; in toCompound()
/third_party/skia/src/sksl/dsl/
DDSLType.cpp137 return context.fTypes.fShort.get(); in get_type_from_type_constant()
/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp128 else if (type == *fContext.fTypes.fShort) { in getTypeName()
1157 if (type == *fContext.fTypes.fShort || type == *fContext.fTypes.fUShort) { in getTypePrecision()
DSkSLSPIRVCodeGenerator.cpp538 if (type.componentType() == *fContext.fTypes.fShort) { in getActualType()