/third_party/skia/src/sksl/ |
D | SkSLBuiltinTypes.cpp | 31 , fInt(Type::MakeScalarType( in BuiltinTypes() 33 , fInt2(Type::MakeVectorType("int2", "i2", *fInt, /*columns=*/2)) in BuiltinTypes() 34 , fInt3(Type::MakeVectorType("int3", "i3", *fInt, /*columns=*/3)) in BuiltinTypes() 35 , fInt4(Type::MakeVectorType("int4", "i4", *fInt, /*columns=*/4)) in BuiltinTypes() 60 , fIntLiteral(Type::MakeLiteralType("$intLiteral", *fInt, /*priority=*/5)) in BuiltinTypes() 142 , fGenIType(Type::MakeGenericType("$genIType", {fInt.get(), fInt2.get(), fInt3.get(),
|
D | SkSLUtil.cpp | 66 if (type == *context.fTypes.fInt ) { *outType = kInt_GrSLType; return true; } in type_to_grsltype()
|
D | SkSLBuiltinTypes.h | 34 const std::unique_ptr<Type> fInt; variable
|
/third_party/flutter/skia/tests/ |
D | TArrayTest.cpp | 108 MoveOnlyInt(int i) : fInt(i) {} in test_swap() 109 MoveOnlyInt(MoveOnlyInt&& that) : fInt(that.fInt) {} in test_swap() 110 bool operator==(int i) { return fInt == i; } in test_swap() 111 int fInt; in test_swap() member
|
D | GrTRecorderTest.cpp | 115 SubSubclass() : fInt(1234), fFloat(1.234f) {} in SubSubclass() 121 REPORTER_ASSERT(reporter, 1234 == fInt); in validate() 126 int fInt; member in SubSubclass
|
/third_party/skia/tests/ |
D | SkSLTypeTest.cpp | 23 REPORTER_ASSERT(r, context.fTypes.fInt->minimumValue() == int_limits::min()); in DEF_TEST() 24 REPORTER_ASSERT(r, context.fTypes.fInt->maximumValue() == int_limits::max()); in DEF_TEST()
|
D | SkSLMemoryLayoutTest.cpp | 27 REPORTER_ASSERT(r, 4 == layout.size(*context.fTypes.fInt)); in DEF_TEST() 44 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fTypes.fInt)); in DEF_TEST() 78 fields2.emplace_back(SkSL::Modifiers(), skstd::string_view("a"), context.fTypes.fInt.get()); in DEF_TEST() 115 REPORTER_ASSERT(r, 4 == layout.size(*context.fTypes.fInt)); in DEF_TEST() 132 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fTypes.fInt)); in DEF_TEST() 166 fields2.emplace_back(SkSL::Modifiers(), skstd::string_view("a"), context.fTypes.fInt.get()); in DEF_TEST()
|
D | TArrayTest.cpp | 214 MoveOnlyInt(int i) : fInt(i) {} in test_swap() 215 MoveOnlyInt(MoveOnlyInt&& that) : fInt(that.fInt) {} in test_swap() 216 bool operator==(int i) { return fInt == i; } in test_swap() 217 int fInt; in test_swap() member
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLSPIRVCodeGenerator.h | 48 : fInt(i) {} in ConstantValue() 54 return fInt == other.fInt; 57 int64_t fInt; member 76 return key.first.fInt ^ (int) key.second;
|
/third_party/skia/src/sksl/ir/ |
D | SkSLSetting.cpp | 51 return context.fTypes.fInt.get(); in type()
|
D | SkSLIndexExpression.cpp | 74 index = context.fTypes.fInt->coerceExpression(std::move(index), context); in Convert()
|
D | SkSLType.cpp | 654 } else if (*this == *context.fTypes.fInt || *this == *context.fTypes.fIntLiteral) { in toCompound() 658 case 1: return *context.fTypes.fInt; in toCompound() 852 size = context.fTypes.fInt->coerceExpression(std::move(size), context); in convertArraySize()
|
D | SkSLSwitchStatement.cpp | 176 value = context.fTypes.fInt->coerceExpression(std::move(value), context); in Convert()
|
/third_party/skia/src/sksl/dsl/ |
D | DSLType.cpp | 127 return context.fTypes.fInt.get(); in get_type_from_type_constant()
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLSPIRVCodeGenerator.cpp | 529 return *fContext.fTypes.fInt; in getActualType() 539 return fContext.fTypes.fInt->toCompound(fContext, type.columns(), type.rows()); in getActualType() 624 SpvId countId = this->writeLiteral(type->columns(), *fContext.fTypes.fInt); in getType() 1391 const SpvId oneID = this->writeLiteral(1.0, *fContext.fTypes.fInt); in castScalarToSignedInt() 1392 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fInt); in castScalarToSignedInt() 1461 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fInt); in castScalarToBoolean() 1876 chain.push_back(this->writeLiteral(fieldExpr.fieldIndex(), *fContext.fTypes.fInt)); in getAccessChain() 2026 SpvId uniformIdxId = this->writeLiteral((double)uniformIdx, *fContext.fTypes.fInt); in getLValue() 2066 SpvId indexId = this->writeLiteral(swizzle.components()[0], *fContext.fTypes.fInt); in getLValue()
|
D | SkSLGLSLCodeGenerator.cpp | 450 if (arguments[0]->type() != *fContext.fTypes.fInt) { in writeFunctionCall() 1167 if (type == *fContext.fTypes.fFloat || type == *fContext.fTypes.fInt || in getTypePrecision()
|
/third_party/skia/src/core/ |
D | SkRuntimeEffect.cpp | 126 if (*type == *ctx.fTypes.fInt) { v->type = Type::kInt; return true; } in init_uniform_type()
|