Searched refs:fFloat2 (Results 1 – 18 of 18) sorted by relevance
/external/skia/src/sksl/ |
D | SkSLBuiltinTypes.cpp | 21 , 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(),
|
D | SkSLUtil.cpp | 64 if (type.matches(*context.fTypes.fFloat2 )) { *outType = SkSLType::kFloat2; return true; } in type_to_sksltype()
|
D | SkSLBuiltinTypes.h | 25 const std::unique_ptr<Type> fFloat2; variable
|
D | SkSLAnalysis.cpp | 98 if (maybeCoords->type().matches(*fContext.fTypes.fFloat2)) { in visitExpression()
|
/external/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 33 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/ |
D | SkSLFunctionDeclaration.cpp | 123 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()
|
D | SkSLChildCall.cpp | 41 const Type* float2 = context.fTypes.fFloat2.get(); in call_signature_is_valid()
|
D | SkSLIndexExpression.cpp | 50 case 2: return *context.fTypes.fFloat2; in IndexType()
|
D | SkSLType.cpp | 885 case 2: return *context.fTypes.fFloat2; in toCompound()
|
/external/skia/src/sksl/dsl/ |
D | DSLType.cpp | 120 return context.fTypes.fFloat2.get(); in get_type_from_type_constant()
|
/external/skia/src/sksl/codegen/ |
D | SkSLSPIRVCodeGenerator.cpp | 1457 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()
|
D | SkSLGLSLCodeGenerator.cpp | 666 SkASSERT(arg1Type.matches(*fContext.fTypes.fFloat2)); in writeFunctionCall() 675 if (arg1Type.matches(*fContext.fTypes.fFloat2)) { in writeFunctionCall()
|
D | SkSLPipelineStageCodeGenerator.cpp | 198 SkASSERT(arguments[0]->type().matches(*fProgram.fContext->fTypes.fFloat2)); in writeChildCall()
|
D | SkSLWGSLCodeGenerator.cpp | 697 if (!type.matches(*fContext.fTypes.fFloat2)) { in writeEntryPoint()
|
D | SkSLRasterPipelineCodeGenerator.cpp | 1960 SkASSERT(arg->type().matches(*fProgram.fContext->fTypes.fFloat2)); in pushChildCall()
|
D | SkSLVMCodeGenerator.cpp | 1296 SkASSERT(arg->type().matches(*fProgram.fContext->fTypes.fFloat2)); in writeChildCall()
|
/external/skia/src/core/ |
D | SkMesh.cpp | 322 if (!field.fType->matches(*fContext.fTypes.fFloat2)) { in check_for_passthrough_local_coords_and_dead_varyings()
|
D | SkRuntimeEffect.cpp | 93 if (type->matches(*ctx.fTypes.fFloat2)) { v->type = Type::kFloat2; return true; } in init_uniform_type()
|