Home
last modified time | relevance | path

Searched refs:kFloat (Results 1 – 25 of 65) sorted by relevance

123

/third_party/skia/src/gpu/d3d/
DGrD3DUtil.h70 return GrColorFormatDesc::MakeRGBA(16, GrColorTypeEncoding::kFloat); in GrDxgiFormatDesc()
72 return GrColorFormatDesc::MakeR(16, GrColorTypeEncoding::kFloat); in GrDxgiFormatDesc()
88 return GrColorFormatDesc::MakeRG(16, GrColorTypeEncoding::kFloat); in GrDxgiFormatDesc()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Doperand.cc23 Operand o(Kind::kFloat); in Float()
49 case Kind::kFloat: in length()
Doperand.h31 enum class Kind { kInt = 0, kFloat, kString }; enumerator
69 bool IsFloat() const { return kind_ == Kind::kFloat; } in IsFloat()
/third_party/skia/third_party/externals/tint/src/inspector/
Dscalar.cc34 Scalar::Scalar(float val) : type_(kFloat) { in Scalar()
55 return type_ == kFloat; in IsFloat()
Dscalar.h63 kFloat, enumerator
Dinspector_test.cc331 testing::Combine(testing::Values(ComponentType::kFloat,
432 EXPECT_EQ(ComponentType::kFloat, result[0].input_variables[0].component_type); in TEST_F()
539 EXPECT_EQ(ComponentType::kFloat, result[0].input_variables[3].component_type); in TEST_F()
543 EXPECT_EQ(ComponentType::kFloat, result[0].input_variables[4].component_type); in TEST_F()
2193 inspector::ResourceBinding::SampledKind::kFloat},
2197 inspector::ResourceBinding::SampledKind::kFloat},
2201 inspector::ResourceBinding::SampledKind::kFloat},
2205 inspector::ResourceBinding::SampledKind::kFloat}));
2245 inspector::ResourceBinding::SampledKind::kFloat},
2249 inspector::ResourceBinding::SampledKind::kFloat}));
[all …]
Dresource_binding.h48 enum class SampledKind { kUnknown = -1, kFloat, kUInt, kSInt }; enumerator
Dentry_point.h31 kFloat, enumerator
/third_party/skia/experimental/graphite/src/
DDrawTypes.h34 kFloat, enumerator
114 kFloat = 0, enumerator
DContextUtils.cpp31 {"offsets", SLType::kFloat, kMaxStops },
34 {"radius0", SLType::kFloat },
35 {"radius1", SLType::kFloat },
290 case SLType::kFloat: in emit_MSL_uniform_struct()
DUniformManager.cpp244 case SLType::kFloat: in WriteUniform()
309 case SLType::kFloat: in sltype_to_alignment_mask()
375 case SLType::kFloat: in sltype_to_mtl_size()
468 case SLType::kHalf: return SLType::kFloat; in getUniformTypeForLayout()
DGraphicsPipelineDesc.h51 VertexAttribType fCPUType = VertexAttribType::kFloat;
199 case VertexAttribType::kFloat: in VertexAttribTypeSize()
/third_party/skia/src/gpu/vk/
DGrVkUtil.h91 return GrColorFormatDesc::MakeRGBA(16, GrColorTypeEncoding::kFloat); in GrVkFormatDesc()
93 return GrColorFormatDesc::MakeR(16, GrColorTypeEncoding::kFloat); in GrVkFormatDesc()
115 return GrColorFormatDesc::MakeRG(16, GrColorTypeEncoding::kFloat); in GrVkFormatDesc()
/third_party/skia/include/private/
DGrTypesPriv.h1010 kFloat, enumerator
1125 return GrColorFormatDesc::MakeAlpha(16, GrColorTypeEncoding::kFloat); in GrGetColorTypeDesc()
1127 return GrColorFormatDesc::MakeRGBA(16, GrColorTypeEncoding::kFloat); in GrGetColorTypeDesc()
1129 return GrColorFormatDesc::MakeRGBA(16, GrColorTypeEncoding::kFloat); in GrGetColorTypeDesc()
1131 return GrColorFormatDesc::MakeRGBA(32, GrColorTypeEncoding::kFloat); in GrGetColorTypeDesc()
1135 return GrColorFormatDesc::MakeAlpha(32, GrColorTypeEncoding::kFloat); in GrGetColorTypeDesc()
1145 return GrColorFormatDesc::MakeRG(16, GrColorTypeEncoding::kFloat); in GrGetColorTypeDesc()
1153 return GrColorFormatDesc::MakeR(16, GrColorTypeEncoding::kFloat); in GrGetColorTypeDesc()
1155 return GrColorFormatDesc::MakeGray(16, GrColorTypeEncoding::kFloat); in GrGetColorTypeDesc()
/third_party/skia/src/utils/
DSkJSON.h130 kFloat = 0b00000100, // inline payload enumerator
240 this->getTag() == Tag::kFloat);
353 case Tag::kFloat: return Type::kNumber; in getType()
/third_party/skia/src/sksl/ir/
DSkSLType.h98 kFloat, enumerator
248 case NumberKind::kFloat: in isNumber()
261 return this->numberKind() == NumberKind::kFloat; in isFloat()
/third_party/skia/src/gpu/ops/
DQuadPerEdgeAA.h33 enum class ColorType { kNone, kByte, kFloat, kLast = kFloat }; enumerator
DQuadPerEdgeAA.cpp60 bool wide = spec.colorType() == ColorType::kFloat; in write_quad_generic()
109 bool wide = spec.colorType() == ColorType::kFloat; in write_2d_color()
166 bool wide = spec.colorType() == ColorType::kFloat; in write_2d_color_uv()
260 bool wide = spec.colorType() == ColorType::kFloat; in write_2d_color_uv_strict()
319 return color.fitsInBytes() ? ColorType::kByte : ColorType::kFloat; in MinColorType()
590 } else if (ColorType::kFloat == this->colorType()) { in vertexSize()
891 fColor = MakeColorAttribute("color", ColorType::kFloat == spec.colorType()); in initializeAttrs()
/third_party/skia/src/gpu/gl/
DGrGLUtil.h96 return GrColorFormatDesc::MakeRGBA(16, GrColorTypeEncoding::kFloat); in GrGLFormatDesc()
98 return GrColorFormatDesc::MakeR(16, GrColorTypeEncoding::kFloat); in GrGLFormatDesc()
116 return GrColorFormatDesc::MakeRG(16, GrColorTypeEncoding::kFloat); in GrGLFormatDesc()
118 return GrColorFormatDesc::MakeGray(16, GrColorTypeEncoding::kFloat); in GrGLFormatDesc()
/third_party/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp312 case Type::NumberKind::kFloat: o->writeText("float"); break; in dump()
491 if (fDebugInfo->fSlotInfo[slot].numberKind == Type::NumberKind::kFloat) { in writeToSlot()
662 if (nk == Type::NumberKind::kFloat) { in writeBinaryExpression()
771 case Type::NumberKind::kFloat: in writeTypeConversion()
789 if (srcKind == Type::NumberKind::kFloat) { in writeTypeConversion()
813 if (srcKind == Type::NumberKind::kFloat) { in writeTypeConversion()
1267 return nk == Type::NumberKind::kFloat in writeIntrinsicCall()
1271 return nk == Type::NumberKind::kFloat in writeIntrinsicCall()
1275 return nk == Type::NumberKind::kFloat in writeIntrinsicCall()
1279 return nk == Type::NumberKind::kFloat in writeIntrinsicCall()
[all …]
/third_party/skia/src/sksl/
DSkSLBuiltinTypes.cpp22 "float", "f", Type::NumberKind::kFloat, /*priority=*/10, /*bitWidth=*/32)) in BuiltinTypes()
27 "half", "h", Type::NumberKind::kFloat, /*priority=*/9, /*bitWidth=*/16)) in BuiltinTypes()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass_interchange_zero_like_constants.cpp56 kind == opt::analysis::Type::kFloat) { in FindOrCreateToggledConstant()
/third_party/spirv-tools/source/fuzz/
Dfuzzer_pass_interchange_zero_like_constants.cpp56 kind == opt::analysis::Type::kFloat) { in FindOrCreateToggledConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_interchange_zero_like_constants.cpp56 kind == opt::analysis::Type::kFloat) { in FindOrCreateToggledConstant()
/third_party/skia/tools/viewer/
DSkSLSlide.cpp171 case SkRuntimeEffect::Uniform::Type::kFloat: in draw()
175 int rows = ((int)v.type - (int)SkRuntimeEffect::Uniform::Type::kFloat) + 1; in draw()

123