Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/
DSkSLBuiltinTypes.cpp23 , fFloat2(Type::MakeVectorType("float2", "f2", *fFloat, /*columns=*/2)) in BuiltinTypes()
138 , fGenType(Type::MakeGenericType("$genType", {fFloat.get(), fFloat2.get(), fFloat3.get(), in BuiltinTypes()
159 , fVec(Type::MakeGenericType("$vec", {fInvalid.get(), fFloat2.get(), fFloat3.get(),
DSkSLUtil.cpp53 if (type == *context.fTypes.fFloat2 ) { *outType = kFloat2_GrSLType; return true; } in type_to_grsltype()
DSkSLBuiltinTypes.h25 const std::unique_ptr<Type> fFloat2; variable
DSkSLCompiler.cpp252 symbols->addAlias("vec2", types.fFloat2.get()); in add_glsl_type_aliases()
DSkSLAnalysis.cpp100 if (maybeCoords->type() == *fContext.fTypes.fFloat2) { in visitExpression()
/third_party/skia/tests/
DSkSLMemoryLayoutTest.cpp24 REPORTER_ASSERT(r, 8 == layout.size(*context.fTypes.fFloat2)); in DEF_TEST()
41 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fFloat2)); in DEF_TEST()
112 REPORTER_ASSERT(r, 8 == layout.size(*context.fTypes.fFloat2)); in DEF_TEST()
129 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fFloat2)); in DEF_TEST()
/third_party/skia/src/sksl/ir/
DSkSLFunctionDeclaration.cpp110 if (type == *context.fTypes.fFloat2) { in check_parameters()
122 if (type == *context.fTypes.fFloat2) { in check_parameters()
147 return p.type() == *context.fTypes.fFloat2 && in check_main_signature()
DSkSLChildCall.cpp47 const Type* float2 = context.fTypes.fFloat2.get(); in call_signature_is_valid()
DSkSLIndexExpression.cpp35 case 2: return *context.fTypes.fFloat2; in IndexType()
DSkSLType.cpp593 case 2: return *context.fTypes.fFloat2; in toCompound()
/third_party/skia/src/sksl/dsl/
DDSLVar.cpp127 ThreadContext::Context().fTypes.fFloat2.get(), in DSLGlobalVar()
DDSLType.cpp103 return context.fTypes.fFloat2.get(); in get_type_from_type_constant()
/third_party/skia/modules/particles/src/
DSkParticleBinding.cpp178 outTypes[0] = fCompiler.context().fTypes.fFloat2.get(); in getCallParameterTypes()
/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp604 SkASSERT(arg1Type == *fContext.fTypes.fFloat2); in writeFunctionCall()
613 if (arg1Type == *fContext.fTypes.fFloat2) { in writeFunctionCall()
DSkSLPipelineStageCodeGenerator.cpp178 SkASSERT(arguments[0]->type() == *fProgram.fContext->fTypes.fFloat2); in writeChildCall()
DSkSLSPIRVCodeGenerator.cpp1039 if (arg1Type == *fContext.fTypes.fFloat2) { in writeSpecialIntrinsic()
1049 SkASSERT(arg1Type == *fContext.fTypes.fFloat2); in writeSpecialIntrinsic()
3039 fContext.fTypes.fFloat2.get()); in writeInterfaceBlock()
3382 if (main.parameters()[0]->type() != *fContext.fTypes.fFloat2) { in writeEntrypointAdapter()
3485 fContext.fTypes.fFloat2.get()); in addRTFlipUniform()
DSkSLVMCodeGenerator.cpp1053 SkASSERT(arg->type() == *fProgram.fContext->fTypes.fFloat2); in writeChildCall()
/third_party/skia/src/core/
DSkRuntimeEffect.cpp113 if (*type == *ctx.fTypes.fFloat2) { v->type = Type::kFloat2; return true; } in init_uniform_type()