Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/
DSkSLBuiltinTypes.cpp33 , fInt2(Type::MakeVectorType("int2", "i2", *fInt, /*columns=*/2)) in BuiltinTypes()
142 , fGenIType(Type::MakeGenericType("$genIType", {fInt.get(), fInt2.get(), fInt3.get(),
163 , fIVec(Type::MakeGenericType("$ivec", {fInvalid.get(), fInt2.get(), fInt3.get(),
DSkSLUtil.cpp67 if (type == *context.fTypes.fInt2 ) { *outType = kInt2_GrSLType; return true; } in type_to_grsltype()
DSkSLBuiltinTypes.h35 const std::unique_ptr<Type> fInt2; variable
DSkSLCompiler.cpp256 symbols->addAlias("ivec2", types.fInt2.get()); in add_glsl_type_aliases()
/third_party/skia/tests/
DSkSLMemoryLayoutTest.cpp28 REPORTER_ASSERT(r, 8 == layout.size(*context.fTypes.fInt2)); in DEF_TEST()
45 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fInt2)); in DEF_TEST()
116 REPORTER_ASSERT(r, 8 == layout.size(*context.fTypes.fInt2)); in DEF_TEST()
133 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fTypes.fInt2)); in DEF_TEST()
/third_party/skia/src/sksl/dsl/
DDSLType.cpp129 return context.fTypes.fInt2.get(); in get_type_from_type_constant()
/third_party/skia/src/sksl/ir/
DSkSLType.cpp659 case 2: return *context.fTypes.fInt2; in toCompound()
/third_party/skia/src/core/
DSkRuntimeEffect.cpp127 if (*type == *ctx.fTypes.fInt2) { v->type = Type::kInt2; return true; } in init_uniform_type()
/third_party/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp1011 ConstructorCompound ctor(/*line=*/-1, *fContext.fTypes.fInt2, std::move(args)); in writeSpecialIntrinsic()