/external/skqp/src/sksl/ |
D | SkSLContext.h | 28 , fFloat_Type(new Type("float", Type::kFloat_NumberKind, 3)) in Context() 29 , fFloat2_Type(new Type("float2", *fFloat_Type, 2)) in Context() 30 , fFloat3_Type(new Type("float3", *fFloat_Type, 3)) in Context() 31 , fFloat4_Type(new Type("float4", *fFloat_Type, 4)) in Context() 64 , fFloat2x2_Type(new Type("float2x2", *fFloat_Type, 2, 2)) in Context() 65 , fFloat2x3_Type(new Type("float2x3", *fFloat_Type, 2, 3)) in Context() 66 , fFloat2x4_Type(new Type("float2x4", *fFloat_Type, 2, 4)) in Context() 67 , fFloat3x2_Type(new Type("float3x2", *fFloat_Type, 3, 2)) in Context() 68 , fFloat3x3_Type(new Type("float3x3", *fFloat_Type, 3, 3)) in Context() 69 , fFloat3x4_Type(new Type("float3x4", *fFloat_Type, 3, 4)) in Context() [all …]
|
D | SkSLSPIRVCodeGenerator.cpp | 150 return type == *context.fFloat_Type || type == *context.fHalf_Type || in is_float() 437 return *fContext.fFloat_Type; in getActualType() 447 return fContext.fFloat_Type->toCompound(fContext, type.columns(), type.rows()); in getActualType() 479 } else if (type == *fContext.fFloat_Type) { in getType() 529 this->getType(*fContext.fFloat_Type, layout), in getType() 850 SkASSERT(c.fArguments[1]->fType == *fContext.fFloat_Type); in writeSpecialIntrinsic() 1140 if (dstType.componentType() == *fContext.fFloat_Type) { in writeMatrixCopy() 1312 if (dst == *fContext.fFloat_Type || dst == *fContext.fHalf_Type) { in writeVectorConstructor() 1313 if (src == *fContext.fFloat_Type || src == *fContext.fHalf_Type) { in writeVectorConstructor() 1331 if (src == *fContext.fFloat_Type || src == *fContext.fHalf_Type) { in writeVectorConstructor() [all …]
|
D | SkSLGLSLCodeGenerator.cpp | 87 if (component == *fContext.fFloat_Type || component == *fContext.fHalf_Type) { in getTypeName() 115 if (component == *fContext.fFloat_Type || component == *fContext.fHalf_Type) { in getTypeName() 620 if (c.fArguments[1]->fType == *fContext.fFloat_Type) { in writeFunctionCall() 1189 if (type == *fContext.fFloat_Type || type == *fContext.fInt_Type || in writeFunctionCall()
|
D | SkSLMetalCodeGenerator.cpp | 103 this->write(fContext.fFloat_Type->name()); in writeType() 360 return ((t1 == *fContext.fFloat_Type || t1 == *fContext.fHalf_Type) && in canCoerce() 361 (t2 == *fContext.fFloat_Type || t2 == *fContext.fHalf_Type)); in canCoerce()
|
D | SkSLHCodeGenerator.cpp | 44 if (type == *context.fFloat_Type || type == *context.fHalf_Type) { in ParameterCType()
|
D | SkSLCPPCodeGenerator.cpp | 506 if (var.fType == *fContext.fFloat_Type) { in addUniform()
|
D | SkSLIRGenerator.cpp | 1409 left.fType.componentType() == *fContext.fFloat_Type && in constantFold()
|
/external/skia/src/sksl/ |
D | SkSLContext.h | 31 , fFloat_Type(new Type("float", Type::kFloat_NumberKind, 5, true)) in Context() 32 , fFloat2_Type(new Type("float2", *fFloat_Type, 2)) in Context() 33 , fFloat3_Type(new Type("float3", *fFloat_Type, 3)) in Context() 34 , fFloat4_Type(new Type("float4", *fFloat_Type, 4)) in Context() 67 , fFloat2x2_Type(new Type("float2x2", *fFloat_Type, 2, 2)) in Context() 68 , fFloat2x3_Type(new Type("float2x3", *fFloat_Type, 2, 3)) in Context() 69 , fFloat2x4_Type(new Type("float2x4", *fFloat_Type, 2, 4)) in Context() 70 , fFloat3x2_Type(new Type("float3x2", *fFloat_Type, 3, 2)) in Context() 71 , fFloat3x3_Type(new Type("float3x3", *fFloat_Type, 3, 3)) in Context() 72 , fFloat3x4_Type(new Type("float3x4", *fFloat_Type, 3, 4)) in Context() [all …]
|
D | SkSLSPIRVCodeGenerator.cpp | 149 return type == *context.fFloat_Type || type == *context.fHalf_Type || in is_float() 441 return *fContext.fFloat_Type; in getActualType() 451 return fContext.fFloat_Type->toCompound(fContext, type.columns(), type.rows()); in getActualType() 484 } else if (type == *fContext.fFloat_Type || type == *fContext.fHalf_Type || in getType() 535 this->getType(*fContext.fFloat_Type, layout), in getType() 857 SkASSERT(c.fArguments[1]->fType == *fContext.fFloat_Type); in writeSpecialIntrinsic() 1165 if (dstType.componentType() == *fContext.fFloat_Type) { in writeMatrixCopy() 1353 if (dst == *fContext.fFloat_Type || dst == *fContext.fHalf_Type) { in writeVectorConstructor() 1354 if (src == *fContext.fFloat_Type || src == *fContext.fHalf_Type) { in writeVectorConstructor() 1372 if (src == *fContext.fFloat_Type || src == *fContext.fHalf_Type) { in writeVectorConstructor() [all …]
|
D | SkSLGLSLCodeGenerator.cpp | 87 if (component == *fContext.fFloat_Type || component == *fContext.fHalf_Type) { in getTypeName() 111 if (component == *fContext.fFloat_Type || component == *fContext.fHalf_Type) { in getTypeName() 624 if (c.fArguments[1]->fType == *fContext.fFloat_Type) { in writeFunctionCall() 1216 if (type == *fContext.fFloat_Type || type == *fContext.fInt_Type || in writeFunctionCall()
|
D | SkSLHCodeGenerator.cpp | 46 } else if (type == *context.fFloat_Type || type == *context.fHalf_Type) { in ParameterCType()
|
D | SkSLCPPCodeGenerator.cpp | 538 if (var.fType == *fContext.fFloat_Type) { in addUniform()
|
D | SkSLMetalCodeGenerator.cpp | 105 this->write(fContext.fFloat_Type->name()); in writeType()
|
/external/skqp/tests/ |
D | SkSLMemoryLayoutTest.cpp | 18 REPORTER_ASSERT(r, 4 == layout.size(*context.fFloat_Type)); in DEF_TEST() 35 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fFloat_Type)); in DEF_TEST() 60 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat_Type.get()); in DEF_TEST() 83 SkSL::Type array1(SkSL::String("float[4]"), SkSL::Type::kArray_Kind, *context.fFloat_Type, 4); in DEF_TEST() 99 REPORTER_ASSERT(r, 4 == layout.size(*context.fFloat_Type)); in DEF_TEST() 116 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fFloat_Type)); in DEF_TEST() 141 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat_Type.get()); in DEF_TEST() 164 SkSL::Type array1(SkSL::String("float[4]"), SkSL::Type::kArray_Kind, *context.fFloat_Type, 4); in DEF_TEST()
|
/external/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 18 REPORTER_ASSERT(r, 4 == layout.size(*context.fFloat_Type)); in DEF_TEST() 35 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fFloat_Type)); in DEF_TEST() 60 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat_Type.get()); in DEF_TEST() 83 SkSL::Type array1(SkSL::String("float[4]"), SkSL::Type::kArray_Kind, *context.fFloat_Type, 4); in DEF_TEST() 99 REPORTER_ASSERT(r, 4 == layout.size(*context.fFloat_Type)); in DEF_TEST() 116 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fFloat_Type)); in DEF_TEST() 141 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat_Type.get()); in DEF_TEST() 164 SkSL::Type array1(SkSL::String("float[4]"), SkSL::Type::kArray_Kind, *context.fFloat_Type, 4); in DEF_TEST()
|
/external/skqp/src/sksl/ir/ |
D | SkSLSwizzle.h | 29 if (base == *context.fFloat_Type) { in get_type() 115 } else if (fType == *irGenerator.fContext.fFloat_Type) { in constantPropagate()
|
D | SkSLConstructor.h | 35 if (fType == *irGenerator.fContext.fFloat_Type || in constantPropagate() 110 if (fType.componentType() == *context.fFloat_Type) { in compareConstant()
|
D | SkSLFloatLiteral.h | 21 : INHERITED(offset, kFloatLiteral_Kind, *context.fFloat_Type) in FloatLiteral()
|
D | SkSLIndexExpression.h | 22 if (type.componentType() == *context.fFloat_Type) { in index_type()
|
D | SkSLType.cpp | 54 if (*this == *context.fFloat_Type) { in toCompound()
|
/external/skia/src/gpu/effects/ |
D | GrSkSLFP.cpp | 63 } else if (&v->fType == fCompiler.context().fFloat_Type.get()) { in getSpecialization() 100 if (type == *fContext.fFloat_Type) { in uniformType() 223 } else if (&v->fType == context.fFloat_Type.get()) { in onSetData() 339 } else if (&v->fType == context.fFloat_Type.get()) { in onGetGLSLProcessorKey()
|
/external/skia/src/sksl/ir/ |
D | SkSLIndexExpression.h | 22 if (type.componentType() == *context.fFloat_Type) { in index_type()
|
D | SkSLSwizzle.h | 35 if (base == *context.fFloat_Type) { in get_type()
|
D | SkSLType.cpp | 55 if (*this == *context.fFloat_Type || *this == *context.fFloatLiteral_Type) { in toCompound()
|
/external/skqp/src/gpu/effects/ |
D | GrSkSLFP.cpp | 93 if (type == *fContext.fFloat_Type) { in uniformType()
|