Home
last modified time | relevance | path

Searched refs:kFloat4 (Results 1 – 25 of 56) sorted by relevance

123

/external/skia/src/gpu/graphite/render/
DTessellateCurvesRenderStep.cpp46 {"p01", VertexAttribType::kFloat4, SkSLType::kFloat4},
47 {"p23", VertexAttribType::kFloat4, SkSLType::kFloat4},
52 {"p01", VertexAttribType::kFloat4, SkSLType::kFloat4},
53 {"p23", VertexAttribType::kFloat4, SkSLType::kFloat4},
DTessellateWedgesRenderStep.cpp47 {"p01", VertexAttribType::kFloat4, SkSLType::kFloat4},
48 {"p23", VertexAttribType::kFloat4, SkSLType::kFloat4},
54 {"p01", VertexAttribType::kFloat4, SkSLType::kFloat4},
55 {"p23", VertexAttribType::kFloat4, SkSLType::kFloat4},
DTessellateStrokesRenderStep.cpp57 {"p01", VertexAttribType::kFloat4, SkSLType::kFloat4},
58 {"p23", VertexAttribType::kFloat4, SkSLType::kFloat4},
65 {"p01", VertexAttribType::kFloat4, SkSLType::kFloat4},
66 {"p23", VertexAttribType::kFloat4, SkSLType::kFloat4},
82 /*uniforms=*/{{"affineMatrix", SkSLType::kFloat4}, in TessellateStrokesRenderStep()
DCoverBoundsRenderStep.cpp25 VertexAttribType::kFloat4,
26 SkSLType::kFloat4}},
27 /*instanceAttrs=*/{{"bounds", VertexAttribType::kFloat4, SkSLType::kFloat4},
DAnalyticRRectRenderStep.cpp422 {{"xRadiiOrFlags", VertexAttribType::kFloat4, SkSLType::kFloat4},
423 {"radiiOrQuadXs", VertexAttribType::kFloat4, SkSLType::kFloat4},
424 {"ltrbOrQuadYs", VertexAttribType::kFloat4, SkSLType::kFloat4},
432 {"center", VertexAttribType::kFloat4, SkSLType::kFloat4},
445 {"jacobian", SkSLType::kFloat4}, // float2x2
446 {"edgeDistances", SkSLType::kFloat4}, // distance to LTRB edges
449 {"xRadii", SkSLType::kFloat4},
450 {"yRadii", SkSLType::kFloat4},
/external/skia/tests/
DMeshTest.cpp36 case Attribute::Type::kFloat4: return "float4"; in attr_type_str()
47 case Varying::Type::kFloat4: return "float4"; in var_type_str()
145 {Attribute::Type::kFloat4, 0, SkString{"pos"}},
349 make_uni(Type::kFloat4, "color", 0, kVS|kFS|kColor) in test_good_uniforms()
363 make_uni(Type::kFloat4, "color", 0, kVS|kColor, 0), in test_good_uniforms()
656 {Attribute::Type::kFloat4, 1, SkString{"var"}}, in test_bad_offsets()
669 {Attribute::Type::kFloat4, 0, SkString{"var"}}, in test_bad_offsets()
701 attrs.push_back({Attribute::Type::kFloat4, 0, SkStringPrintf("attr%zu", i)}); in test_too_many_attrs()
716 varyings.push_back({Varying::Type::kFloat4, SkStringPrintf("varying%zu", i)}); in test_too_many_varyings()
728 {Attribute::Type::kFloat4, 0, SkString{"var"}}, in test_duplicate_attribute_names()
[all …]
/external/skia/tests/graphite/
DUniformOffsetCalculatorTest.cpp97 EXPECT(SkSLType::kFloat4, /*alignment=*/16, /*size=*/16); in DEF_TEST()
138 EXPECT_ARRAY(SkSLType::kFloat4, /*alignment=*/16, /*stride=*/16, /*size=*/48); in DEF_TEST()
178 EXPECT(SkSLType::kFloat4, /*alignment=*/16, /*size=*/16); in DEF_TEST()
219 EXPECT_ARRAY(SkSLType::kFloat4, /*alignment=*/16, /*stride=*/16, /*size=*/48); in DEF_TEST()
259 EXPECT(SkSLType::kFloat4, /*alignment=*/16, /*size=*/16); in DEF_TEST()
300 EXPECT_ARRAY(SkSLType::kFloat4, /*alignment=*/16, /*stride=*/16, /*size=*/48); in DEF_TEST()
/external/skia/src/core/
DSkSLTypeShared.h33 kFloat4, enumerator
72 case SkSLType::kFloat4: in SkSLTypeIsFloatType()
141 case SkSLType::kFloat4: in SkSLTypeIsIntegralType()
198 case SkSLType::kFloat4: in SkSLTypeVecLength()
DSkSLTypeShared.cpp28 case SkSLType::kFloat4: return "float4"; in SkSLTypeString()
102 case SkSLType::kFloat4: in SkSLTypeIsFullPrecisionNumericType()
146 case SkSLType::kFloat4: in SkSLTypeMatrixSize()
176 case SkSLType::kFloat4: in SkSLTypeIsCombinedSamplerType()
DSkMeshPriv.h57 case Varying::Type::kFloat4: return SkSLType::kFloat4; in VaryingTypeAsSLType()
72 case Attribute::Type::kFloat4: return kFloat4_GrVertexAttribType; in AttrTypeAsVertexAttribType()
84 case Attribute::Type::kFloat4: return SkSLType::kFloat4; in AttrTypeAsSLType()
/external/skia/src/gpu/graphite/
DUniformManager.cpp301 case SkSLType::kFloat4: in WriteUniform()
358 case SkSLType::kFloat4: in sksltype_to_alignment_mask()
418 alignmentMask = sksltype_to_alignment_mask(SkSLType::kFloat4); in get_ubo_aligned_offset()
443 case SkSLType::kHalf4: return SkSLType::kFloat4; in getUniformTypeForLayout()
587 static constexpr SkSLType kType = SkSLType::kFloat4; in write()
592 static constexpr SkSLType kType = SkSLType::kFloat4; in write()
617 static constexpr SkSLType kType = SkSLType::kFloat4; in write()
622 static constexpr SkSLType kType = SkSLType::kFloat4; in writeArray()
627 static constexpr SkSLType kType = SkSLType::kFloat4; in writeArray()
DShaderCodeDictionary.cpp438 { "colors", SkSLType::kFloat4, kFourStopGradient },
447 { "colors", SkSLType::kFloat4, kEightStopGradient },
457 { "colors", SkSLType::kFloat4, kFourStopGradient },
466 { "colors", SkSLType::kFloat4, kEightStopGradient },
476 { "colors", SkSLType::kFloat4, kFourStopGradient },
486 { "colors", SkSLType::kFloat4, kEightStopGradient },
497 { "colors", SkSLType::kFloat4, kFourStopGradient },
508 { "colors", SkSLType::kFloat4, kEightStopGradient },
530 { "color", SkSLType::kFloat4 }
587 { "subset", SkSLType::kFloat4 },
[all …]
DDrawTypes.h51 kFloat4, enumerator
99 case VertexAttribType::kFloat4: in VertexAttribTypeSize()
DPaintParamsKey.cpp158 case DataPayloadType::kFloat4: return 16; in field_size()
191 this->addToKey(numColors, colors, DataPayloadType::kFloat4); in add()
381 SkASSERT(fEntry->fDataPayloadExpectations[fieldIndex].fType == DataPayloadType::kFloat4); in colors()
/external/skia/src/gpu/ganesh/ops/
DFillRRectOp.cpp380 fInstanceAttribs.emplace_back("radii_x", kFloat4_GrVertexAttribType, SkSLType::kFloat4); in Processor()
381 fInstanceAttribs.emplace_back("radii_y", kFloat4_GrVertexAttribType, SkSLType::kFloat4); in Processor()
382 fInstanceAttribs.emplace_back("skew", kFloat4_GrVertexAttribType, SkSLType::kFloat4); in Processor()
386 SkSLType::kFloat4); in Processor()
388 "localrect", kFloat4_GrVertexAttribType, SkSLType::kFloat4); in Processor()
402 {"radii_selector", kFloat4_GrVertexAttribType, SkSLType::kFloat4},
403 {"corner_and_radius_outsets", kFloat4_GrVertexAttribType, SkSLType::kFloat4},
405 {"aa_bloat_and_coverage", kFloat4_GrVertexAttribType, SkSLType::kFloat4}};
750 GrGLSLVarying arcCoord(useHWDerivatives ? SkSLType::kFloat2 : SkSLType::kFloat4); in onEmitCode()
DAtlasInstancedHelper.cpp24 instanceAttribs->emplace_back("locations", kFloat4_GrVertexAttribType, SkSLType::kFloat4); in appendInstanceAttribs()
71 GrGLSLVarying atlasBounds(SkSLType::kFloat4); in injectShaderCode()
DDrawAtlasPathOp.cpp43 fAttribs.emplace_back("fillBounds", kFloat4_GrVertexAttribType, SkSLType::kFloat4); in DrawAtlasPathShader()
45 fAttribs.emplace_back("affineMatrix", kFloat4_GrVertexAttribType, SkSLType::kFloat4); in DrawAtlasPathShader()
/external/skia/include/core/
DSkMesh.h76 kFloat4, // four floats float4 enumerator
91 kFloat4, // "float4" enumerator
185 kFloat4, enumerator
/external/skia/src/gpu/ganesh/tessellate/
DGrPathTessellationShader.cpp81 fInstanceAttribs.emplace_back("p01", kFloat4_GrVertexAttribType, SkSLType::kFloat4); in MiddleOutShader()
82 fInstanceAttribs.emplace_back("p23", kFloat4_GrVertexAttribType, SkSLType::kFloat4); in MiddleOutShader()
308 SkSLType::kFloat4, "affineMatrix", in onEmitCode()
DGrStrokeTessellationShader.cpp105 fAttribs.emplace_back("pts01Attr", kFloat4_GrVertexAttribType, SkSLType::kFloat4); in GrStrokeTessellationShader()
106 fAttribs.emplace_back("pts23Attr", kFloat4_GrVertexAttribType, SkSLType::kFloat4); in GrStrokeTessellationShader()
249 SkSLType::kFloat4, "affineMatrix", in onEmitCode()
/external/skia/src/gpu/ganesh/glsl/
DGrGLSLShaderBuilder.cpp205 const GrShaderVar gGamutXformArgs[] = { GrShaderVar("color", SkSLType::kFloat4) }; in appendColorGamutXform()
211 this->emitFunction(SkSLType::kFloat4, gamutXformFuncName.c_str(), in appendColorGamutXform()
217 const GrShaderVar gColorXformArgs[] = { GrShaderVar("color", SkSLType::kFloat4) }; in appendColorGamutXform()
/external/skia/src/gpu/ganesh/effects/
DGrSkSLFP.h43 UNIFORM_TYPE(kFloat4, SkPMColor4f);
44 UNIFORM_TYPE(kFloat4, SkRect);
45 UNIFORM_TYPE(kFloat4, SkV4);
46 UNIFORM_TYPE(kFloat4, skvx::Vec<4, float>);
/external/skia/src/gpu/ganesh/vk/
DGrVkVaryingHandler.cpp25 case SkSLType::kFloat4: in sksltype_to_location_size()
/external/skia/src/gpu/ganesh/
DGrSPIRVVaryingHandler.cpp28 case SkSLType::kFloat4: in sksltype_to_location_size()
DGrSPIRVUniformHandler.cpp65 case SkSLType::kFloat4: in sksltype_to_alignment_mask()
122 case SkSLType::kFloat4: in sksltype_to_size()

123