Searched refs:fFloat_Type (Results 1 – 11 of 11) sorted by relevance
/external/skia/src/sksl/ |
D | SkSLContext.h | 28 , fFloat_Type(new Type(String("float"), true, { fDouble_Type.get() })) in Context() 29 , fVec2_Type(new Type(String("vec2"), *fFloat_Type, 2)) 30 , fVec3_Type(new Type(String("vec3"), *fFloat_Type, 3)) 31 , fVec4_Type(new Type(String("vec4"), *fFloat_Type, 4)) 32 , fUInt_Type(new Type(String("uint"), true, { fFloat_Type.get(), fDouble_Type.get() })) 36 , fInt_Type(new Type(String("int"), true, { fUInt_Type.get(), fFloat_Type.get(), 45 , fMat2x2_Type(new Type(String("mat2"), *fFloat_Type, 2, 2)) 46 , fMat2x3_Type(new Type(String("mat2x3"), *fFloat_Type, 2, 3)) 47 , fMat2x4_Type(new Type(String("mat2x4"), *fFloat_Type, 2, 4)) 48 , fMat3x2_Type(new Type(String("mat3x2"), *fFloat_Type, 3, 2)) [all …]
|
D | SkSLSPIRVCodeGenerator.cpp | 151 return type == *context.fFloat_Type || type == *context.fDouble_Type; in is_float() 1049 } else if (type == *fContext.fFloat_Type) { in getType() 1098 this->getType(*fContext.fFloat_Type, layout), in getType() 1363 ASSERT(c.fArguments[1]->fType == *fContext.fFloat_Type); in writeSpecialIntrinsic() 1495 ASSERT(c.fType == *fContext.fFloat_Type); in writeFloatConstructor() 1506 } else if (c.fArguments[0]->fType == *fContext.fFloat_Type) { in writeFloatConstructor() 1518 if (c.fArguments[0]->fType == *fContext.fFloat_Type) { in writeIntConstructor() 1536 if (c.fArguments[0]->fType == *fContext.fFloat_Type) { in writeUIntConstructor() 1659 if (c.fType == *fContext.fFloat_Type) { in writeConstructor() 1924 fContext.fFloat_Type.get()); in writeVariableReference() [all …]
|
D | SkSLCPPCodeGenerator.cpp | 137 if (type == *fContext.fFloat_Type) { in writeRuntimeValue() 337 if (var.fType == *fContext.fFloat_Type) { in addUniform()
|
D | SkSLGLSLCodeGenerator.cpp | 196 if (c.fArguments[1]->fType == *fContext.fFloat_Type) { in writeFunctionCall()
|
D | SkSLIRGenerator.cpp | 1158 left.fType.componentType() == *fContext.fFloat_Type && in constantFold() 1473 if (type == *fContext.fFloat_Type && args.size() == 1 && in convertNumberConstructor()
|
/external/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 20 REPORTER_ASSERT(r, 4 == layout.size(*context.fFloat_Type)); in DEF_TEST() 37 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fFloat_Type)); in DEF_TEST() 62 fields1.emplace_back(SkSL::Modifiers(), SkString("b"), context.fFloat_Type.get()); in DEF_TEST() 85 SkSL::Type array1(SkString("float[4]"), SkSL::Type::kArray_Kind, *context.fFloat_Type, 4); in DEF_TEST() 101 REPORTER_ASSERT(r, 4 == layout.size(*context.fFloat_Type)); in DEF_TEST() 118 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fFloat_Type)); in DEF_TEST() 143 fields1.emplace_back(SkSL::Modifiers(), SkString("b"), context.fFloat_Type.get()); in DEF_TEST() 166 SkSL::Type array1(SkString("float[4]"), SkSL::Type::kArray_Kind, *context.fFloat_Type, 4); in DEF_TEST()
|
/external/skia/src/sksl/ir/ |
D | SkSLSwizzle.h | 29 if (base == *context.fFloat_Type) { in get_type() 85 } else if (fType == *irGenerator.fContext.fFloat_Type) { in constantPropagate()
|
D | SkSLFloatLiteral.h | 22 : INHERITED(position, kFloatLiteral_Kind, type ? *type : *context.fFloat_Type)
|
D | SkSLConstructor.h | 36 if (fType == *irGenerator.fContext.fFloat_Type) { in constantPropagate() 102 if (fType.componentType() == *context.fFloat_Type) { in compareConstant()
|
D | SkSLIndexExpression.h | 22 if (type.componentType() == *context.fFloat_Type) { in index_type()
|
D | SkSLType.cpp | 45 if (*this == *context.fFloat_Type) { in toCompound()
|