Home
last modified time | relevance | path

Searched refs:fInt (Results 1 – 24 of 24) sorted by relevance

/external/skqp/src/sksl/
DSkSLInterpreter.cpp194 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 …]
DSkSLInterpreter.h38 : fInt(i) {} in Value()
44 int fInt; member
/external/skia/src/sksl/
DSkSLBuiltinTypes.cpp98 , 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()}))
DSkSLRehydrator.h31 int32_t fInt; member
DSkSLUtil.cpp68 if (type == *context.fTypes.fInt ) { *outType = kInt_GrSLType; return true; } in type_to_grsltype()
DSkSLBuiltinTypes.h34 const std::unique_ptr<Type> fInt; variable
DSkSLIRGenerator.cpp222 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()
DSkSLDehydrator.cpp358 this->writeS32(u.fInt); in write()
DSkSLRehydrator.cpp515 u.fInt = this->readS32(); in expression()
/external/skqp/tests/
DTArrayTest.cpp108 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
DGrTRecorderTest.cpp164 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/
DSkSLMemoryLayoutTest.cpp25 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()
DTArrayTest.cpp214 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/
DSkSLType.cpp127 } else if (*this == *context.fTypes.fInt || *this == *context.fTypes.fIntLiteral) { in toCompound()
131 case 1: return *context.fTypes.fInt; in toCompound()
DSkSLIndexExpression.cpp46 index = context.fTypes.fInt->coerceExpression(std::move(index), context); in Convert()
DSkSLSetting.cpp48 return context.fTypes.fInt.get(); in type()
DSkSLSwitchStatement.cpp181 value = context.fTypes.fInt->coerceExpression(std::move(value), context); in Convert()
/external/skia/src/sksl/dsl/
DDSLType.cpp131 return *context.fTypes.fInt; in skslType()
/external/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp484 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 …]
DSkSLHCodeGenerator.cpp55 } else if (type == *context.fTypes.fInt || in ParameterCType()
DSkSLGLSLCodeGenerator.cpp466 if (arguments[0]->type() != *fContext.fTypes.fInt) { in writeFunctionCall()
1122 if (type == *fContext.fTypes.fFloat || type == *fContext.fTypes.fInt || in getTypePrecision()
DSkSLCPPCodeGenerator.cpp147 if (type == *fContext.fTypes.fInt) { in formatRuntimeValue()
478 if (type == *context.fTypes.fInt ) { return "kInt_GrSLType"; } in glsltype_string()
DSkSLDSLCPPCodeGenerator.cpp138 if (type == *fContext.fTypes.fInt) { in formatRuntimeValue()
/external/skia/src/core/
DSkRuntimeEffect.cpp113 if (*type == *ctx.fTypes.fInt) { v->type = Type::kInt; return true; } in init_uniform_type()