Home
last modified time | relevance | path

Searched refs:fInt2 (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/sksl/
DSkSLBuiltinTypes.cpp100 , fInt2(MakeVectorType("int2", "i2", *fInt, /*columns=*/2)) in BuiltinTypes()
212 MakeGenericType("$genIType", {fInt.get(), fInt2.get(), fInt3.get(), fInt4.get()}))
233 , fIVec(MakeGenericType("$ivec", {fInvalid.get(), fInt2.get(), fInt3.get(), fInt4.get()}))
DSkSLUtil.cpp69 if (type == *context.fTypes.fInt2 ) { *outType = kInt2_GrSLType; return true; } in type_to_grsltype()
DSkSLBuiltinTypes.h35 const std::unique_ptr<Type> fInt2; variable
DSkSLCompiler.cpp265 symbols->addAlias("ivec2", types.fInt2.get()); in add_glsl_type_aliases()
/external/skia/tests/
DSkSLMemoryLayoutTest.cpp26 REPORTER_ASSERT(r, 8 == layout.size(*context.fTypes.fInt2)); in DEF_TEST()
43 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fInt2)); in DEF_TEST()
113 REPORTER_ASSERT(r, 8 == layout.size(*context.fTypes.fInt2)); in DEF_TEST()
130 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fInt2)); in DEF_TEST()
/external/skia/src/sksl/dsl/
DDSLType.cpp133 return *context.fTypes.fInt2; in skslType()
/external/skia/src/sksl/ir/
DSkSLType.cpp132 case 2: return *context.fTypes.fInt2; in toCompound()
/external/skia/src/sksl/codegen/
DSkSLHCodeGenerator.cpp60 } else if (type == *context.fTypes.fInt2 || in ParameterCType()
DSkSLCPPCodeGenerator.cpp479 if (type == *context.fTypes.fInt2 ) { return "kInt2_GrSLType"; } in glsltype_string()
DSkSLSPIRVCodeGenerator.cpp937 ConstructorCompound ctor(/*offset=*/-1, *fContext.fTypes.fInt2, std::move(args)); in writeSpecialIntrinsic()
/external/skia/src/core/
DSkRuntimeEffect.cpp114 if (*type == *ctx.fTypes.fInt2) { v->type = Type::kInt2; return true; } in init_uniform_type()