Searched refs:fFloat2 (Results 1 – 18 of 18) sorted by relevance
/third_party/skia/src/sksl/ |
D | SkSLBuiltinTypes.cpp | 23 , 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(),
|
D | SkSLUtil.cpp | 53 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 | 252 symbols->addAlias("vec2", types.fFloat2.get()); in add_glsl_type_aliases()
|
D | SkSLAnalysis.cpp | 100 if (maybeCoords->type() == *fContext.fTypes.fFloat2) { in visitExpression()
|
/third_party/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 24 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/ |
D | SkSLFunctionDeclaration.cpp | 110 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()
|
D | SkSLChildCall.cpp | 47 const Type* float2 = context.fTypes.fFloat2.get(); in call_signature_is_valid()
|
D | SkSLIndexExpression.cpp | 35 case 2: return *context.fTypes.fFloat2; in IndexType()
|
D | SkSLType.cpp | 593 case 2: return *context.fTypes.fFloat2; in toCompound()
|
/third_party/skia/src/sksl/dsl/ |
D | DSLVar.cpp | 127 ThreadContext::Context().fTypes.fFloat2.get(), in DSLGlobalVar()
|
D | DSLType.cpp | 103 return context.fTypes.fFloat2.get(); in get_type_from_type_constant()
|
/third_party/skia/modules/particles/src/ |
D | SkParticleBinding.cpp | 178 outTypes[0] = fCompiler.context().fTypes.fFloat2.get(); in getCallParameterTypes()
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLGLSLCodeGenerator.cpp | 604 SkASSERT(arg1Type == *fContext.fTypes.fFloat2); in writeFunctionCall() 613 if (arg1Type == *fContext.fTypes.fFloat2) { in writeFunctionCall()
|
D | SkSLPipelineStageCodeGenerator.cpp | 178 SkASSERT(arguments[0]->type() == *fProgram.fContext->fTypes.fFloat2); in writeChildCall()
|
D | SkSLSPIRVCodeGenerator.cpp | 1039 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()
|
D | SkSLVMCodeGenerator.cpp | 1053 SkASSERT(arg->type() == *fProgram.fContext->fTypes.fFloat2); in writeChildCall()
|
/third_party/skia/src/core/ |
D | SkRuntimeEffect.cpp | 113 if (*type == *ctx.fTypes.fFloat2) { v->type = Type::kFloat2; return true; } in init_uniform_type()
|