Searched refs:fInt_Type (Results 1 – 10 of 10) sorted by relevance
/external/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 24 REPORTER_ASSERT(r, 4 == layout.size(*context.fInt_Type)); in DEF_TEST() 41 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fInt_Type)); in DEF_TEST() 74 fields2.emplace_back(SkSL::Modifiers(), SkString("a"), context.fInt_Type.get()); in DEF_TEST() 105 REPORTER_ASSERT(r, 4 == layout.size(*context.fInt_Type)); in DEF_TEST() 122 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fInt_Type)); in DEF_TEST() 155 fields2.emplace_back(SkSL::Modifiers(), SkString("a"), context.fInt_Type.get()); in DEF_TEST()
|
/external/skia/src/sksl/ |
D | SkSLContext.h | 36 , fInt_Type(new Type(String("int"), true, { fUInt_Type.get(), fFloat_Type.get(), 38 , fIVec2_Type(new Type(String("ivec2"), *fInt_Type, 2)) 39 , fIVec3_Type(new Type(String("ivec3"), *fInt_Type, 3)) 40 , fIVec4_Type(new Type(String("ivec4"), *fInt_Type, 4)) 123 , fGenIType_Type(new Type(String("$genIType"), { fInt_Type.get(), fIVec2_Type.get(), 179 const std::unique_ptr<Type> fInt_Type; variable
|
D | SkSLIRGenerator.cpp | 233 auto size = this->coerce(this->convertExpression(*rawSize), *fContext.fInt_Type); in convertVarDeclarations() 416 value = this->coerce(std::move(value), *fContext.fInt_Type); in convertSwitch() 432 caseValue = this->coerce(std::move(caseValue), *fContext.fInt_Type); in convertSwitch() 567 *fContext.fInt_Type)); in applyInvocationIDWorkaround() 1478 if (args[0]->fKind == Expression::kIntLiteral_Kind && (type == *fContext.fInt_Type || in convertNumberConstructor() 1652 if (base->fType != *fContext.fInt_Type) { in convertPrefixExpression() 1694 converted = this->coerce(std::move(converted), *fContext.fInt_Type); in convertIndex()
|
D | SkSLSPIRVCodeGenerator.cpp | 158 return type == *context.fInt_Type; in is_signed() 1045 } else if (type == *fContext.fInt_Type) { in getType() 1500 if (c.fArguments[0]->fType == *fContext.fInt_Type) { in writeFloatConstructor() 1513 ASSERT(c.fType == *fContext.fInt_Type); in writeIntConstructor() 1524 } else if (c.fArguments[0]->fType == *fContext.fInt_Type) { in writeIntConstructor() 1539 } else if (c.fArguments[0]->fType == *fContext.fInt_Type) { in writeUIntConstructor() 1661 } else if (c.fType == *fContext.fInt_Type) { in writeConstructor() 2442 if (type == *context.fInt_Type) { in create_literal_1() 2546 if (i.fType == *fContext.fInt_Type) { in writeIntLiteral()
|
D | SkSLCPPCodeGenerator.cpp | 140 } else if (type == *fContext.fInt_Type) { in writeRuntimeValue()
|
/external/skia/src/sksl/ir/ |
D | SkSLSwizzle.h | 41 } else if (base == *context.fInt_Type) { in get_type() 79 if (fType == *irGenerator.fContext.fInt_Type) { in constantPropagate()
|
D | SkSLIntLiteral.h | 23 : INHERITED(position, kIntLiteral_Kind, type ? *type : *context.fInt_Type)
|
D | SkSLIndexExpression.h | 51 ASSERT(fIndex->fType == *context.fInt_Type || fIndex->fType == *context.fUInt_Type); in IndexExpression()
|
D | SkSLType.cpp | 109 } else if (*this == *context.fInt_Type) { in toCompound()
|
D | SkSLConstructor.h | 105 ASSERT(fType.componentType() == *context.fInt_Type); in compareConstant()
|