/external/skqp/src/sksl/ |
D | SkSLInterpreter.cpp | 194 return this->evaluate(*idx.fBase).fInt + this->evaluate(*idx.fIndex).fInt; in getLValue() 237 StackIndex transpose = evaluate(*a.fArguments[0]).fInt; in appendStage() 280 return Value(left.fInt op right.fInt); \ in evaluate() 290 return Value(left.fInt op right.fInt); \ in evaluate() 302 return Value(left.fInt op right.fInt); \ in evaluate() 316 result.fInt op right.fInt; \ in evaluate() 330 result.fInt op right.fInt; \ in evaluate() 397 StackIndex pos = this->evaluate(*idx.fBase).fInt + in evaluate() 398 this->evaluate(*idx.fIndex).fInt; in evaluate() 410 return Value(-base.fInt); in evaluate() [all …]
|
D | SkSLInterpreter.h | 38 : fInt(i) {} in Value() 44 int fInt; member
|
/external/skia/src/sksl/ |
D | SkSLBuiltinTypes.cpp | 98 , fInt(MakeScalarType( in BuiltinTypes() 100 , fInt2(MakeVectorType("int2", "i2", *fInt, /*columns=*/2)) in BuiltinTypes() 101 , fInt3(MakeVectorType("int3", "i3", *fInt, /*columns=*/3)) in BuiltinTypes() 102 , fInt4(MakeVectorType("int4", "i4", *fInt, /*columns=*/4)) in BuiltinTypes() 123 , fIntLiteral(MakeLiteralType("$intLiteral", *fInt, /*priority=*/5)) in BuiltinTypes() 212 MakeGenericType("$genIType", {fInt.get(), fInt2.get(), fInt3.get(), fInt4.get()}))
|
D | SkSLRehydrator.h | 31 int32_t fInt; member
|
D | SkSLUtil.cpp | 68 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
|
D | SkSLIRGenerator.cpp | 222 size = this->coerce(std::move(size), *fContext.fTypes.fInt); in convertArraySize() 1914 "sk_InvocationID", fContext.fTypes.fInt.get(), in start() 1916 auto decl = VarDeclaration::Make(fContext, var.get(), fContext.fTypes.fInt.get(), in start()
|
D | SkSLDehydrator.cpp | 358 this->writeS32(u.fInt); in write()
|
D | SkSLRehydrator.cpp | 515 u.fInt = this->readS32(); in expression()
|
/external/skqp/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 | 164 SubSubclass() : fInt(1234), fFloat(1.234f) {} in SubSubclass() 170 REPORTER_ASSERT(reporter, 1234 == fInt); in validate() 175 int fInt; member in SubSubclass
|
/external/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 25 REPORTER_ASSERT(r, 4 == layout.size(*context.fTypes.fInt)); in DEF_TEST() 42 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fTypes.fInt)); in DEF_TEST() 76 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fTypes.fInt.get()); in DEF_TEST() 112 REPORTER_ASSERT(r, 4 == layout.size(*context.fTypes.fInt)); in DEF_TEST() 129 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fTypes.fInt)); in DEF_TEST() 163 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("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
|
/external/skia/src/sksl/ir/ |
D | SkSLType.cpp | 127 } else if (*this == *context.fTypes.fInt || *this == *context.fTypes.fIntLiteral) { in toCompound() 131 case 1: return *context.fTypes.fInt; in toCompound()
|
D | SkSLIndexExpression.cpp | 46 index = context.fTypes.fInt->coerceExpression(std::move(index), context); in Convert()
|
D | SkSLSetting.cpp | 48 return context.fTypes.fInt.get(); in type()
|
D | SkSLSwitchStatement.cpp | 181 value = context.fTypes.fInt->coerceExpression(std::move(value), context); in Convert()
|
/external/skia/src/sksl/dsl/ |
D | DSLType.cpp | 131 return *context.fTypes.fInt; in skslType()
|
/external/skia/src/sksl/codegen/ |
D | SkSLSPIRVCodeGenerator.cpp | 484 return *fContext.fTypes.fInt; in getActualType() 494 return fContext.fTypes.fInt->toCompound(fContext, type.columns(), type.rows()); in getActualType() 529 } else if (type == *fContext.fTypes.fInt || type == *fContext.fTypes.fShort || in getType() 568 fContext.fTypes.fInt.get()); in getType() 1300 IntLiteral one(/*offset=*/-1, /*value=*/1, fContext.fTypes.fInt.get()); in castScalarToSignedInt() 1302 IntLiteral zero(/*offset=*/-1, /*value=*/0, fContext.fTypes.fInt.get()); in castScalarToSignedInt() 1374 IntLiteral zero(/*offset=*/-1, /*value=*/0, fContext.fTypes.fInt.get()); in castScalarToBoolean() 1803 IntLiteral index(/*offset=*/-1, fieldExpr.fieldIndex(), fContext.fTypes.fInt.get()); in getAccessChain() 1951 IntLiteral uniformIdxLiteral{/*offset=*/-1, uniformIdx, fContext.fTypes.fInt.get()}; in getLValue() 2001 fContext.fTypes.fInt.get()); in getLValue() [all …]
|
D | SkSLHCodeGenerator.cpp | 55 } else if (type == *context.fTypes.fInt || in ParameterCType()
|
D | SkSLGLSLCodeGenerator.cpp | 466 if (arguments[0]->type() != *fContext.fTypes.fInt) { in writeFunctionCall() 1122 if (type == *fContext.fTypes.fFloat || type == *fContext.fTypes.fInt || in getTypePrecision()
|
D | SkSLCPPCodeGenerator.cpp | 147 if (type == *fContext.fTypes.fInt) { in formatRuntimeValue() 478 if (type == *context.fTypes.fInt ) { return "kInt_GrSLType"; } in glsltype_string()
|
D | SkSLDSLCPPCodeGenerator.cpp | 138 if (type == *fContext.fTypes.fInt) { in formatRuntimeValue()
|
/external/skia/src/core/ |
D | SkRuntimeEffect.cpp | 113 if (*type == *ctx.fTypes.fInt) { v->type = Type::kInt; return true; } in init_uniform_type()
|