Searched refs:fInt_Type (Results 1 – 14 of 14) sorted by relevance
/external/skqp/tests/ |
D | SkSLMemoryLayoutTest.cpp | 22 REPORTER_ASSERT(r, 4 == layout.size(*context.fInt_Type)); in DEF_TEST() 39 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fInt_Type)); in DEF_TEST() 72 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST() 103 REPORTER_ASSERT(r, 4 == layout.size(*context.fInt_Type)); in DEF_TEST() 120 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fInt_Type)); in DEF_TEST() 153 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST()
|
/external/skqp/src/sksl/ |
D | SkSLContext.h | 40 , fInt_Type(new Type("int", Type::kSigned_NumberKind, 1)) in Context() 41 , fInt2_Type(new Type("int2", *fInt_Type, 2)) in Context() 42 , fInt3_Type(new Type("int3", *fInt_Type, 3)) in Context() 43 , fInt4_Type(new Type("int4", *fInt_Type, 4)) in Context() 153 , fGenIType_Type(new Type("$genIType", { fInt_Type.get(), fInt2_Type.get(), 199 , fFragmentProcessor_Type(fp_type(fInt_Type.get(), fBool_Type.get())) 230 const std::unique_ptr<Type> fInt_Type; variable
|
D | SkSLIRGenerator.cpp | 276 auto size = this->coerce(this->convertExpression(*rawSize), *fContext.fInt_Type); in convertVarDeclarations() 469 value = this->coerce(std::move(value), *fContext.fInt_Type); in convertSwitch() 620 *fContext.fInt_Type)); in applyInvocationIDWorkaround() 695 parameters[0]->fType == *fContext.fInt_Type && in convertFunction() 697 parameters[1]->fType == *fContext.fInt_Type && in convertFunction() 1690 if (args[0]->fKind == Expression::kIntLiteral_Kind && (type == *fContext.fInt_Type || in convertNumberConstructor() 1863 if (base->fType != *fContext.fInt_Type) { in convertPrefixExpression() 1905 converted = this->coerce(std::move(converted), *fContext.fInt_Type); in convertIndex()
|
D | SkSLSPIRVCodeGenerator.cpp | 158 return type == *context.fInt_Type || type == *context.fShort_Type || in is_signed() 440 return *fContext.fInt_Type; in getActualType() 451 return fContext.fInt_Type->toCompound(fContext, type.columns(), type.rows()); in getActualType() 475 } else if (type == *fContext.fInt_Type) { in getType() 1143 } else if (dstType.componentType() == *fContext.fInt_Type) { in writeMatrixCopy() 1317 } else if (src == *fContext.fInt_Type || in writeVectorConstructor() 1328 } else if (dst == *fContext.fInt_Type || in writeVectorConstructor() 1333 } else if (src == *fContext.fInt_Type || in writeVectorConstructor() 1351 } else if (src == *fContext.fInt_Type || in writeVectorConstructor() 1426 } else if (c.fType == *fContext.fInt_Type || in writeConstructor() [all …]
|
D | SkSLGLSLCodeGenerator.cpp | 93 else if (component == *fContext.fInt_Type || in getTypeName() 493 if (c.fArguments[0]->fType != *fContext.fInt_Type) in writeFunctionCall() 1189 if (type == *fContext.fFloat_Type || type == *fContext.fInt_Type || in writeFunctionCall()
|
D | SkSLHCodeGenerator.cpp | 46 } else if (type == *context.fInt_Type || in ParameterCType()
|
D | SkSLJIT.cpp | 1748 f.fParameters[0]->fType == *fProgram->fContext->fInt_Type && in hasStageSignature() 1750 f.fParameters[1]->fType == *fProgram->fContext->fInt_Type && in hasStageSignature()
|
D | SkSLCPPCodeGenerator.cpp | 159 } else if (type == *fContext.fInt_Type) { in writeRuntimeValue()
|
/external/skqp/src/sksl/ir/ |
D | SkSLSwizzle.h | 47 } else if (base == *context.fInt_Type) { in get_type() 109 if (fType == *irGenerator.fContext.fInt_Type) { in constantPropagate()
|
D | SkSLIntLiteral.h | 23 : INHERITED(offset, kIntLiteral_Kind, *context.fInt_Type) in IntLiteral()
|
D | SkSLIndexExpression.h | 58 SkASSERT(fIndex->fType == *context.fInt_Type || fIndex->fType == *context.fUInt_Type); in IndexExpression()
|
D | SkSLType.cpp | 150 } else if (*this == *context.fInt_Type) { in toCompound()
|
D | SkSLConstructor.h | 113 SkASSERT(fType.componentType() == *context.fInt_Type); in compareConstant()
|
/external/skqp/src/gpu/effects/ |
D | GrSkSLFP.cpp | 56 if (&v->fType == fCompiler.context().fInt_Type.get()) { in getSpecialization() 111 } else if (type == *fContext.fInt_Type) { in uniformType() 211 } else if (&v->fType == context.fInt_Type.get()) { in onSetData() 306 if (&v->fType == context.fInt_Type.get()) { in onGetGLSLProcessorKey()
|