Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/
DSkSLBuiltinTypes.cpp26 , fHalf(Type::MakeScalarType( in BuiltinTypes()
28 , fHalf2(Type::MakeVectorType("half2", "h2", *fHalf, /*columns=*/2)) in BuiltinTypes()
29 , fHalf3(Type::MakeVectorType("half3", "h3", *fHalf, /*columns=*/3)) in BuiltinTypes()
30 , fHalf4(Type::MakeVectorType("half4", "h4", *fHalf, /*columns=*/4)) in BuiltinTypes()
70 , fHalf2x2(Type::MakeMatrixType("half2x2", "h22", *fHalf, /*columns=*/2, /*rows=*/2)) in BuiltinTypes()
71 , fHalf2x3(Type::MakeMatrixType("half2x3", "h23", *fHalf, /*columns=*/2, /*rows=*/3)) in BuiltinTypes()
72 , fHalf2x4(Type::MakeMatrixType("half2x4", "h24", *fHalf, /*columns=*/2, /*rows=*/4)) in BuiltinTypes()
73 , fHalf3x2(Type::MakeMatrixType("half3x2", "h32", *fHalf, /*columns=*/3, /*rows=*/2)) in BuiltinTypes()
74 , fHalf3x3(Type::MakeMatrixType("half3x3", "h33", *fHalf, /*columns=*/3, /*rows=*/3)) in BuiltinTypes()
75 , fHalf3x4(Type::MakeMatrixType("half3x4", "h34", *fHalf, /*columns=*/3, /*rows=*/4)) in BuiltinTypes()
[all …]
DSkSLUtil.cpp59 if (type == *context.fTypes.fHalf ) { *outType = kHalf_GrSLType; return true; } in type_to_grsltype()
DSkSLBuiltinTypes.h29 const std::unique_ptr<Type> fHalf; variable
/third_party/skia/src/sksl/ir/
DSkSLIndexExpression.cpp40 } else if (type.componentType() == *context.fTypes.fHalf) { in IndexType()
DSkSLType.cpp554 mediumpType = context.fTypes.fHalf.get(); in applyPrecisionQualifiers()
621 } else if (*this == *context.fTypes.fHalf) { in toCompound()
625 case 1: return *context.fTypes.fHalf; in toCompound()
/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp86 if (component == *fContext.fTypes.fFloat || component == *fContext.fTypes.fHalf) { in getTypeName()
107 if (component == *fContext.fTypes.fFloat || component == *fContext.fTypes.fHalf) { in getTypeName()
125 if (type == *fContext.fTypes.fHalf) { in getTypeName()
1164 if (type == *fContext.fTypes.fHalf) { in getTypePrecision()
DSkSLSPIRVCodeGenerator.cpp535 if (type.componentType() == *fContext.fTypes.fHalf) { in getActualType()
/third_party/skia/src/sksl/dsl/
DDSLType.cpp75 return context.fTypes.fHalf.get(); in get_type_from_type_constant()
/third_party/skia/include/private/
DSkVx.h727 , fHalf{(divisor + 1) >> 1} {
742 uint32_t half() const { return fHalf; }
746 const uint32_t fHalf;
/third_party/skia/src/core/
DSkRuntimeEffect.cpp112 if (*type == *ctx.fTypes.fHalf) { v->type = Type::kFloat; return true; } in init_uniform_type()