Home
last modified time | relevance | path

Searched refs:fFloat2 (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/sksl/
DSkSLBuiltinTypes.cpp21 , fFloat2(Type::MakeVectorType("float2", "f2", *fFloat, /*columns=*/2)) in BuiltinTypes()
77 , fVec2(Type::MakeAliasType("vec2", *fFloat2)) in BuiltinTypes()
164 , fGenType(Type::MakeGenericType("$genType", {fFloat.get(), fFloat2.get(), fFloat3.get(),
185 , fVec(Type::MakeGenericType("$vec", {fInvalid.get(), fFloat2.get(), fFloat3.get(),
DSkSLUtil.cpp64 if (type.matches(*context.fTypes.fFloat2 )) { *outType = SkSLType::kFloat2; return true; } in type_to_sksltype()
DSkSLBuiltinTypes.h25 const std::unique_ptr<Type> fFloat2; variable
DSkSLAnalysis.cpp98 if (maybeCoords->type().matches(*fContext.fTypes.fFloat2)) { in visitExpression()
/external/skia/tests/
DSkSLMemoryLayoutTest.cpp33 REPORTER_ASSERT(r, 8 == layout.size(*context.fTypes.fFloat2)); in DEF_TEST()
51 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fFloat2)); in DEF_TEST()
131 REPORTER_ASSERT(r, 8 == layout.size(*context.fTypes.fFloat2)); in DEF_TEST()
149 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fFloat2)); in DEF_TEST()
243 REPORTER_ASSERT(r, 8 == layout.size(*context.fTypes.fFloat2)); in DEF_TEST()
247 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fFloat2)); in DEF_TEST()
369 auto array = SkSL::Type::MakeArrayType("float2[4]", *context.fTypes.fFloat2, 4); in DEF_TEST()
418 context.fTypes.fFloat2.get()); in DEF_TEST()
446 context.fTypes.fFloat2.get()); in DEF_TEST()
497 REPORTER_ASSERT(r, 8 == layout.size(*context.fTypes.fFloat2)); in DEF_TEST()
[all …]
/external/skia/src/sksl/ir/
DSkSLFunctionDeclaration.cpp123 if (type.matches(*context.fTypes.fFloat2)) { in check_parameters()
135 if (type.matches(*context.fTypes.fFloat2)) { in check_parameters()
168 return p.type().matches(*context.fTypes.fFloat2) && in check_main_signature()
256 if (!returnType.matches(*context.fTypes.fFloat2)) { in check_main_signature()
DSkSLChildCall.cpp41 const Type* float2 = context.fTypes.fFloat2.get(); in call_signature_is_valid()
DSkSLIndexExpression.cpp50 case 2: return *context.fTypes.fFloat2; in IndexType()
DSkSLType.cpp885 case 2: return *context.fTypes.fFloat2; in toCompound()
/external/skia/src/sksl/dsl/
DDSLType.cpp120 return context.fTypes.fFloat2.get(); in get_type_from_type_constant()
/external/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp1457 if (arg1Type.matches(*fContext.fTypes.fFloat2)) { in writeSpecialIntrinsic()
1467 SkASSERT(arg1Type.matches(*fContext.fTypes.fFloat2)); in writeSpecialIntrinsic()
1509 SkASSERT(arguments[1]->type().matches(*fContext.fTypes.fFloat2)); in writeSpecialIntrinsic()
1510 SkASSERT(arguments[2]->type().matches(*fContext.fTypes.fFloat2)); in writeSpecialIntrinsic()
1511 SkASSERT(arguments[3]->type().matches(*fContext.fTypes.fFloat2)); in writeSpecialIntrinsic()
1530 SkASSERT(arg1Type.matches(*fContext.fTypes.fFloat2)); in writeSpecialIntrinsic()
3530 fContext.fTypes.fFloat2.get()); in writeInterfaceBlock()
4015 if (!main.parameters()[0]->type().matches(*fContext.fTypes.fFloat2)) { in writeEntrypointAdapter()
4127 fContext.fTypes.fFloat2.get()); in addRTFlipUniform()
DSkSLGLSLCodeGenerator.cpp666 SkASSERT(arg1Type.matches(*fContext.fTypes.fFloat2)); in writeFunctionCall()
675 if (arg1Type.matches(*fContext.fTypes.fFloat2)) { in writeFunctionCall()
DSkSLPipelineStageCodeGenerator.cpp198 SkASSERT(arguments[0]->type().matches(*fProgram.fContext->fTypes.fFloat2)); in writeChildCall()
DSkSLWGSLCodeGenerator.cpp697 if (!type.matches(*fContext.fTypes.fFloat2)) { in writeEntryPoint()
DSkSLRasterPipelineCodeGenerator.cpp1960 SkASSERT(arg->type().matches(*fProgram.fContext->fTypes.fFloat2)); in pushChildCall()
DSkSLVMCodeGenerator.cpp1296 SkASSERT(arg->type().matches(*fProgram.fContext->fTypes.fFloat2)); in writeChildCall()
/external/skia/src/core/
DSkMesh.cpp322 if (!field.fType->matches(*fContext.fTypes.fFloat2)) { in check_for_passthrough_local_coords_and_dead_varyings()
DSkRuntimeEffect.cpp93 if (type->matches(*ctx.fTypes.fFloat2)) { v->type = Type::kFloat2; return true; } in init_uniform_type()