Home
last modified time | relevance | path

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

/external/skia/src/sksl/
DSkSLBuiltinTypes.cpp91 , 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()}))
DSkSLUtil.cpp55 if (type == *context.fTypes.fFloat2 ) { *outType = kFloat2_GrSLType; return true; } in type_to_grsltype()
DSkSLBuiltinTypes.h25 const std::unique_ptr<Type> fFloat2; variable
DSkSLCompiler.cpp261 symbols->addAlias("vec2", types.fFloat2.get()); in add_glsl_type_aliases()
DSkSLAnalysis.cpp100 if (coords->type() == *fContext.fTypes.fFloat2) { in visitExpression()
/external/skia/tests/
DSkSLMemoryLayoutTest.cpp22 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/
DSkSLFunctionDeclaration.cpp95 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()
DSkSLIndexExpression.cpp18 case 2: return *context.fTypes.fFloat2; in IndexType()
DSkSLType.cpp66 case 2: return *context.fTypes.fFloat2; in toCompound()
/external/skia/src/sksl/dsl/
DDSLFunction.cpp55 if (type == *DSLWriter::Context().fTypes.fFloat2) { in init()
DDSLVar.cpp50 DSLWriter::Context().fTypes.fFloat2.get(), in DSLVar()
DDSLType.cpp105 return *context.fTypes.fFloat2; in skslType()
/external/skia/modules/particles/src/
DSkParticleBinding.cpp178 outTypes[0] = fCompiler.context().fTypes.fFloat2.get(); in getCallParameterTypes()
/external/skia/src/sksl/codegen/
DSkSLHCodeGenerator.cpp58 } else if (type == *context.fTypes.fFloat2 || type == *context.fTypes.fHalf2) { in ParameterCType()
DSkSLGLSLCodeGenerator.cpp606 SkASSERT(arg1Type == *fContext.fTypes.fFloat2); in writeFunctionCall()
615 if (arg1Type == *fContext.fTypes.fFloat2) { in writeFunctionCall()
DSkSLCPPCodeGenerator.cpp155 if (type == *fContext.fTypes.fFloat2 || type == *fContext.fTypes.fHalf2) { in formatRuntimeValue()
465 if (type == *context.fTypes.fFloat2 ) { return "kFloat2_GrSLType"; } in glsltype_string()
DSkSLPipelineStageCodeGenerator.cpp177 SkASSERT(arguments[1]->type() == *fProgram.fContext->fTypes.fFloat2); in writeFunctionCall()
DSkSLSPIRVCodeGenerator.cpp965 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()
DSkSLDSLCPPCodeGenerator.cpp146 if (type == *fContext.fTypes.fFloat2 || type == *fContext.fTypes.fHalf2) { in formatRuntimeValue()
DSkSLVMCodeGenerator.cpp958 SkASSERT(arg->type() == *fProgram.fContext->fTypes.fFloat2); in writeIntrinsicCall()
/external/skia/src/core/
DSkRuntimeEffect.cpp100 if (*type == *ctx.fTypes.fFloat2) { v->type = Type::kFloat2; return true; } in init_uniform_type()