Home
last modified time | relevance | path

Searched refs:kFloat4_GrSLType (Results 1 – 25 of 74) sorted by relevance

123

/external/skqp/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.cpp64 fScale0_1Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
68 kFragment_GrShaderFlag, kFloat4_GrSLType, kDefault_GrSLPrecision, "scale2_3"); in emitCode()
72 kFragment_GrShaderFlag, kFloat4_GrSLType, kDefault_GrSLPrecision, "scale4_5"); in emitCode()
76 kFragment_GrShaderFlag, kFloat4_GrSLType, kDefault_GrSLPrecision, "scale6_7"); in emitCode()
80 kFragment_GrShaderFlag, kFloat4_GrSLType, kDefault_GrSLPrecision, "scale8_9"); in emitCode()
84 kFragment_GrShaderFlag, kFloat4_GrSLType, kDefault_GrSLPrecision, "scale10_11"); in emitCode()
88 kFragment_GrShaderFlag, kFloat4_GrSLType, kDefault_GrSLPrecision, "scale12_13"); in emitCode()
92 kFragment_GrShaderFlag, kFloat4_GrSLType, kDefault_GrSLPrecision, "scale14_15"); in emitCode()
94 fBias0_1Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
97 fBias2_3Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
[all …]
DGrDualIntervalGradientColorizer.cpp36 fScale01Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
38 fBias01Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
40 fScale23Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
42 fBias23Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
/external/skia/src/gpu/gradients/generated/
DGrUnrolledBinaryGradientColorizer.cpp67 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "scale0_1"); in emitCode()
70 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "scale2_3"); in emitCode()
74 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "scale4_5"); in emitCode()
78 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "scale6_7"); in emitCode()
82 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "scale8_9"); in emitCode()
86 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "scale10_11"); in emitCode()
90 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "scale12_13"); in emitCode()
94 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "scale14_15"); in emitCode()
97 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "bias0_1"); in emitCode()
100 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "bias2_3"); in emitCode()
[all …]
DGrDualIntervalGradientColorizer.cpp39 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "scale01"); in emitCode()
41 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "bias01"); in emitCode()
43 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "scale23"); in emitCode()
45 &_outer, kFragment_GrShaderFlag, kFloat4_GrSLType, "bias23"); in emitCode()
/external/skia/src/gpu/tessellate/
DGrStrokeTessellateShader.cpp110 v->declareGlobal(GrShaderVar("vsJoinArgs0", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
113 v->declareGlobal(GrShaderVar("vsJoinArgs1", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
116 v->declareGlobal(GrShaderVar("vsPts01", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
117 v->declareGlobal(GrShaderVar("vsPts23", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
118 v->declareGlobal(GrShaderVar("vsPts45", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
119 v->declareGlobal(GrShaderVar("vsPts67", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
120 v->declareGlobal(GrShaderVar("vsPts89", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
121 v->declareGlobal(GrShaderVar("vsTans01", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
122 v->declareGlobal(GrShaderVar("vsTans23", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
147 kFloat4_GrSLType, "tessArgs", &tessArgsName); in onEmitCode()
[all …]
DGrStrokeTessellateShader.h127 fAttribs.emplace_back("pts01Attr", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in GrStrokeTessellateShader()
128 fAttribs.emplace_back("pts23Attr", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in GrStrokeTessellateShader()
135 fAttribs.emplace_back("pts01Attr", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in GrStrokeTessellateShader()
136 fAttribs.emplace_back("pts23Attr", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in GrStrokeTessellateShader()
DGrFillPathShader.h90 {"input_points_0_1", kFloat4_GrVertexAttribType, kFloat4_GrSLType}, in GrFillCubicHullShader()
91 {"input_points_2_3", kFloat4_GrVertexAttribType, kFloat4_GrSLType}}; in GrFillCubicHullShader()
DGrStencilPathShader.h184 {"inputPoints_0_1", kFloat4_GrVertexAttribType, kFloat4_GrSLType}, in GrMiddleOutCubicShader()
185 {"inputPoints_2_3", kFloat4_GrVertexAttribType, kFloat4_GrSLType}}; in GrMiddleOutCubicShader()
/external/skqp/src/gpu/ops/
DGrAAFillRRectOp.cpp275 {"radii_selector", kFloat4_GrVertexAttribType, kFloat4_GrSLType},
276 {"corner_and_radius_outsets", kFloat4_GrVertexAttribType, kFloat4_GrSLType},
277 {"aa_bloat_and_coverage", kFloat4_GrVertexAttribType, kFloat4_GrSLType}};
280 {"skew", kFloat4_GrVertexAttribType, kFloat4_GrSLType},
282 {"radii_x", kFloat4_GrVertexAttribType, kFloat4_GrSLType},
283 {"radii_y", kFloat4_GrVertexAttribType, kFloat4_GrSLType},
285 {"local_rect", kFloat4_GrVertexAttribType, kFloat4_GrSLType}}; // Conditional.
381 GrGLSLVarying arcCoord(useHWDerivatives ? kFloat2_GrSLType : kFloat4_GrSLType); in onEmitCode()
/external/skqp/src/gpu/ccpr/
DGrCCConicShader.cpp53 fKLM_fWind.reset(kFloat4_GrSLType, scope); in onEmitVaryings()
60 fGrad_fCorner.reset(cornerCoverage ? kFloat4_GrSLType : kFloat2_GrSLType, scope); in onEmitVaryings()
79 if (kFloat4_GrSLType == fGrad_fCorner.type()) { in onEmitFragmentCode()
DGrCCQuadraticShader.cpp44 fCoord_fGrad.reset(kFloat4_GrSLType, scope); in onEmitVaryings()
52 fEdge_fWind_fCorner.reset(cornerCoverage ? kFloat4_GrSLType : kFloat2_GrSLType, scope); in onEmitVaryings()
74 if (kFloat4_GrSLType == fEdge_fWind_fCorner.type()) { in onEmitFragmentCode()
DGrCCPathProcessor.h102 {"devbounds", kFloat4_GrVertexAttribType, kFloat4_GrSLType},
103 {"devbounds45", kFloat4_GrVertexAttribType, kFloat4_GrSLType},
108 kFloat4_GrSLType};
DGrCCClipProcessor.cpp57 fPathIBoundsUniform = uniHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
65 fAtlasTransformUniform = uniHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
DGrCCCubicShader.cpp95 fKLM_fEdge.reset(kFloat4_GrSLType, scope); in onEmitVaryings()
105 fGradMatrix.reset(kFloat4_GrSLType, scope); in onEmitVaryings()
/external/skia/src/gpu/ops/
DGrFillRRectOp.cpp301 fInstanceAttribs.emplace_back("skew", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in Processor()
303 fInstanceAttribs.emplace_back("radii_x", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in Processor()
304 fInstanceAttribs.emplace_back("radii_y", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in Processor()
309 "local_rect", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in Processor()
315 {"radii_selector", kFloat4_GrVertexAttribType, kFloat4_GrSLType},
316 {"corner_and_radius_outsets", kFloat4_GrVertexAttribType, kFloat4_GrSLType},
318 {"aa_bloat_and_coverage", kFloat4_GrVertexAttribType, kFloat4_GrSLType}};
619 GrGLSLVarying arcCoord(useHWDerivatives ? kFloat2_GrSLType : kFloat4_GrSLType); in onEmitCode()
/external/skqp/src/gpu/glsl/
DGrGLSL.cpp29 case kFloat4_GrSLType: in GrGLSLTypeString()
/external/skia/src/gpu/glsl/
DGrGLSL.cpp37 case kFloat4_GrSLType: return "float4"; in GrGLSLTypeString()
/external/skqp/include/private/
DGrTypesPriv.h364 kFloat4_GrSLType, enumerator
446 case kFloat4_GrSLType: in GrSLTypeIsFloatType()
525 case kFloat4_GrSLType: in GrSLTypeVecLength()
588 case kFloat4_GrSLType: in GrSLTypeIsCombinedSamplerType()
656 case kFloat4_GrSLType: in GrSLTypeAcceptsPrecision()
688 case kFloat4_GrSLType: in GrSLTypeTemporarilyAcceptsPrecision()
/external/skqp/src/gpu/effects/
DGrRectBlurEffect.cpp34 fRectVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
43 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
/external/skqp/src/gpu/vk/
DGrVkVaryingHandler.cpp25 case kFloat4_GrSLType: in grsltype_to_location_size()
DGrVkUniformHandler.cpp61 case kFloat4_GrSLType: in grsltype_to_alignment_mask()
142 case kFloat4_GrSLType: in grsltype_to_vk_size()
/external/skia/src/gpu/
DGrSPIRVVaryingHandler.cpp28 case kFloat4_GrSLType: in grsltype_to_location_size()
DGrSPIRVUniformHandler.cpp76 case kFloat4_GrSLType: in grsltype_to_alignment_mask()
145 case kFloat4_GrSLType: in grsltype_to_size()
/external/skia/src/gpu/vk/
DGrVkVaryingHandler.cpp25 case kFloat4_GrSLType: in grsltype_to_location_size()
DGrVkUniformHandler.cpp69 case kFloat4_GrSLType: in grsltype_to_alignment_mask()
143 case kFloat4_GrSLType: in grsltype_to_vk_size()

123