Home
last modified time | relevance | path

Searched refs:fFloat2x2 (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/sksl/
DSkSLBuiltinTypes.cpp59 , fFloat2x2(Type::MakeMatrixType("float2x2", "f22", *fFloat, /*columns=*/2, /*rows=*/2)) in BuiltinTypes()
86 , fMat2(Type::MakeAliasType("mat2", *fFloat2x2)) in BuiltinTypes()
89 , fMat2x2(Type::MakeAliasType("mat2x2", *fFloat2x2)) in BuiltinTypes()
174 , fMat(Type::MakeGenericType("$mat", {fFloat2x2.get(), fFloat2x3.get(), fFloat2x4.get(),
181 , fSquareMat(Type::MakeGenericType("$squareMat", {fInvalid.get(), fFloat2x2.get(),
DSkSLUtil.cpp67 if (type.matches(*context.fTypes.fFloat2x2)) { *outType = SkSLType::kFloat2x2; return true; } in type_to_sksltype()
DSkSLBuiltinTypes.h65 const std::unique_ptr<Type> fFloat2x2; variable
/external/skia/tests/
DSkSLMemoryLayoutTest.cpp44 REPORTER_ASSERT(r, 32 == layout.size(*context.fTypes.fFloat2x2)); in DEF_TEST()
62 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fTypes.fFloat2x2)); in DEF_TEST()
142 REPORTER_ASSERT(r, 16 == layout.size(*context.fTypes.fFloat2x2)); in DEF_TEST()
160 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fFloat2x2)); in DEF_TEST()
271 REPORTER_ASSERT(r, 16 == layout.size(*context.fTypes.fFloat2x2)); in DEF_TEST()
273 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fFloat2x2)); in DEF_TEST()
275 REPORTER_ASSERT(r, 8 == layout.stride(*context.fTypes.fFloat2x2)); in DEF_TEST()
525 REPORTER_ASSERT(r, 16 == layout.size(*context.fTypes.fFloat2x2)); in DEF_TEST()
527 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fFloat2x2)); in DEF_TEST()
529 REPORTER_ASSERT(r, 8 == layout.stride(*context.fTypes.fFloat2x2)); in DEF_TEST()
[all …]
/external/skia/src/sksl/dsl/
DDSLType.cpp126 return context.fTypes.fFloat2x2.get(); in get_type_from_type_constant()
/external/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp350 if (type.matches(*fContext.fTypes.fFloat2x2) || in writeDeterminantHack()
444 if (type.matches(*fContext.fTypes.fFloat2x2) || type.matches(*fContext.fTypes.fHalf2x2)) { in writeInverseHack()
/external/skia/src/sksl/ir/
DSkSLType.cpp892 case 2: return *context.fTypes.fFloat2x2; in toCompound()
/external/skia/src/core/
DSkRuntimeEffect.cpp99 if (type->matches(*ctx.fTypes.fFloat2x2)) { v->type = Type::kFloat2x2; return true; } in init_uniform_type()