Searched refs:fFloat2 (Results 1 – 21 of 21) sorted by relevance
/external/skia/src/sksl/ |
D | SkSLBuiltinTypes.cpp | 91 , fFloat2(MakeVectorType("float2", "f2", *fFloat, /*columns=*/2)) in BuiltinTypes() 208 {fFloat.get(), fFloat2.get(), fFloat3.get(), fFloat4.get()})) in BuiltinTypes() 230 {fInvalid.get(), fFloat2.get(), fFloat3.get(), fFloat4.get()}))
|
D | SkSLUtil.cpp | 55 if (type == *context.fTypes.fFloat2 ) { *outType = kFloat2_GrSLType; return true; } in type_to_grsltype()
|
D | SkSLBuiltinTypes.h | 25 const std::unique_ptr<Type> fFloat2; variable
|
D | SkSLCompiler.cpp | 261 symbols->addAlias("vec2", types.fFloat2.get()); in add_glsl_type_aliases()
|
D | SkSLAnalysis.cpp | 100 if (coords->type() == *fContext.fTypes.fFloat2) { in visitExpression()
|
/external/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 22 REPORTER_ASSERT(r, 8 == layout.size(*context.fTypes.fFloat2)); in DEF_TEST() 39 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fFloat2)); in DEF_TEST() 109 REPORTER_ASSERT(r, 8 == layout.size(*context.fTypes.fFloat2)); in DEF_TEST() 126 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fFloat2)); in DEF_TEST()
|
/external/skia/src/sksl/ir/ |
D | SkSLFunctionDeclaration.cpp | 95 if (type == *context.fTypes.fFloat2) { in check_parameters() 108 if (type == *context.fTypes.fFloat2) { in check_parameters() 129 return p.type() == *context.fTypes.fFloat2 && in check_main_signature()
|
D | SkSLIndexExpression.cpp | 18 case 2: return *context.fTypes.fFloat2; in IndexType()
|
D | SkSLType.cpp | 66 case 2: return *context.fTypes.fFloat2; in toCompound()
|
/external/skia/src/sksl/dsl/ |
D | DSLFunction.cpp | 55 if (type == *DSLWriter::Context().fTypes.fFloat2) { in init()
|
D | DSLVar.cpp | 50 DSLWriter::Context().fTypes.fFloat2.get(), in DSLVar()
|
D | DSLType.cpp | 105 return *context.fTypes.fFloat2; in skslType()
|
/external/skia/modules/particles/src/ |
D | SkParticleBinding.cpp | 178 outTypes[0] = fCompiler.context().fTypes.fFloat2.get(); in getCallParameterTypes()
|
/external/skia/src/sksl/codegen/ |
D | SkSLHCodeGenerator.cpp | 58 } else if (type == *context.fTypes.fFloat2 || type == *context.fTypes.fHalf2) { in ParameterCType()
|
D | SkSLGLSLCodeGenerator.cpp | 606 SkASSERT(arg1Type == *fContext.fTypes.fFloat2); in writeFunctionCall() 615 if (arg1Type == *fContext.fTypes.fFloat2) { in writeFunctionCall()
|
D | SkSLCPPCodeGenerator.cpp | 155 if (type == *fContext.fTypes.fFloat2 || type == *fContext.fTypes.fHalf2) { in formatRuntimeValue() 465 if (type == *context.fTypes.fFloat2 ) { return "kFloat2_GrSLType"; } in glsltype_string()
|
D | SkSLPipelineStageCodeGenerator.cpp | 177 SkASSERT(arguments[1]->type() == *fProgram.fContext->fTypes.fFloat2); in writeFunctionCall()
|
D | SkSLSPIRVCodeGenerator.cpp | 965 if (arg1Type == *fContext.fTypes.fFloat2) { in writeSpecialIntrinsic() 975 SkASSERT(arg1Type == *fContext.fTypes.fFloat2); in writeSpecialIntrinsic() 3430 if (main.parameters()[0]->type() != *fContext.fTypes.fFloat2) { in writeEntrypointAdapter() 3439 /*offset=*/-1, *fContext.fTypes.fFloat2, std::move(zero)); in writeEntrypointAdapter()
|
D | SkSLDSLCPPCodeGenerator.cpp | 146 if (type == *fContext.fTypes.fFloat2 || type == *fContext.fTypes.fHalf2) { in formatRuntimeValue()
|
D | SkSLVMCodeGenerator.cpp | 958 SkASSERT(arg->type() == *fProgram.fContext->fTypes.fFloat2); in writeIntrinsicCall()
|
/external/skia/src/core/ |
D | SkRuntimeEffect.cpp | 100 if (*type == *ctx.fTypes.fFloat2) { v->type = Type::kFloat2; return true; } in init_uniform_type()
|