Home
last modified time | relevance | path

Searched refs:fsIn (Results 1 – 25 of 45) sorted by relevance

12

/external/skia/src/gpu/effects/
DGrBezierEffect.cpp126 fragBuilder->codeAppendf("%s = dFdx(%s.xyz);", dklmdx.c_str(), v.fsIn()); in onEmitCode()
127 fragBuilder->codeAppendf("%s = dFdy(%s.xyz);", dklmdy.c_str(), v.fsIn()); in onEmitCode()
130 v.fsIn(), dklmdx.c_str(), in onEmitCode()
131 v.fsIn(), dklmdx.c_str(), in onEmitCode()
132 v.fsIn(), dklmdx.c_str()); in onEmitCode()
135 v.fsIn(), dklmdy.c_str(), in onEmitCode()
136 v.fsIn(), dklmdy.c_str(), in onEmitCode()
137 v.fsIn(), dklmdy.c_str()); in onEmitCode()
143 func.c_str(), v.fsIn(), v.fsIn(), v.fsIn(), v.fsIn()); in onEmitCode()
154 fragBuilder->codeAppendf("%s = dFdx(%s.xyz);", dklmdx.c_str(), v.fsIn()); in onEmitCode()
[all …]
DGrDistanceFieldGeoProc.cpp85 fragBuilder->codeAppendf("float2 uv = %s;\n", uv.fsIn()); in onEmitCode()
106 "*half(dFdx(%s.x)));", st.fsIn()); in onEmitCode()
110 "*half(dFdy(%s.y)));", st.fsIn()); in onEmitCode()
120 fragBuilder->codeAppendf("half st_grad_len = length(half2(dFdx(%s)));", st.fsIn()); in onEmitCode()
123 fragBuilder->codeAppendf("half st_grad_len = length(half2(dFdy(%s)));", st.fsIn()); in onEmitCode()
141 fragBuilder->codeAppendf("half2 Jdx = half2(dFdx(%s));", st.fsIn()); in onEmitCode()
142 fragBuilder->codeAppendf("half2 Jdy = half2(dFdy(%s));", st.fsIn()); in onEmitCode()
385 fragBuilder->codeAppendf("float2 uv = %s;", uv.fsIn()); in onEmitCode()
407 "*half(dFdx(%s.x)));", st.fsIn()); in onEmitCode()
411 "*half(dFdy(%s.y)));", st.fsIn()); in onEmitCode()
[all …]
/external/skqp/src/gpu/effects/
DGrBezierEffect.cpp126 fragBuilder->codeAppendf("%s = dFdx(%s.xyz);", dklmdx.c_str(), v.fsIn()); in onEmitCode()
127 fragBuilder->codeAppendf("%s = dFdy(%s.xyz);", dklmdy.c_str(), v.fsIn()); in onEmitCode()
130 v.fsIn(), dklmdx.c_str(), in onEmitCode()
131 v.fsIn(), dklmdx.c_str(), in onEmitCode()
132 v.fsIn(), dklmdx.c_str()); in onEmitCode()
135 v.fsIn(), dklmdy.c_str(), in onEmitCode()
136 v.fsIn(), dklmdy.c_str(), in onEmitCode()
137 v.fsIn(), dklmdy.c_str()); in onEmitCode()
143 func.c_str(), v.fsIn(), v.fsIn(), v.fsIn(), v.fsIn()); in onEmitCode()
154 fragBuilder->codeAppendf("%s = dFdx(%s.xyz);", dklmdx.c_str(), v.fsIn()); in onEmitCode()
[all …]
DGrDistanceFieldGeoProc.cpp86 fragBuilder->codeAppendf("float2 uv = %s;\n", uv.fsIn()); in onEmitCode()
107 st.fsIn()); in onEmitCode()
111 st.fsIn()); in onEmitCode()
121 fragBuilder->codeAppendf("half st_grad_len = length(dFdx(%s));", st.fsIn()); in onEmitCode()
124 fragBuilder->codeAppendf("half st_grad_len = length(dFdy(%s));", st.fsIn()); in onEmitCode()
141 fragBuilder->codeAppendf("half2 Jdx = dFdx(%s);", st.fsIn()); in onEmitCode()
142 fragBuilder->codeAppendf("half2 Jdy = dFdy(%s);", st.fsIn()); in onEmitCode()
386 fragBuilder->codeAppendf("float2 uv = %s;", uv.fsIn()); in onEmitCode()
408 st.fsIn()); in onEmitCode()
412 st.fsIn()); in onEmitCode()
[all …]
/external/skia/src/gpu/ccpr/
DGrCCConicShader.cpp75 this->calcHullCoverage(&AccessCodeString(f), fKLM_fWind.fsIn(), fGrad_fCorner.fsIn(), in onEmitFragmentCode()
77 f->codeAppendf("%s *= half(%s.w);", outputCoverage, fKLM_fWind.fsIn()); // Wind. in onEmitFragmentCode()
81 outputCoverage, fGrad_fCorner.fsIn(), fGrad_fCorner.fsIn(), in onEmitFragmentCode()
DGrCCQuadraticShader.cpp69 this->calcHullCoverage(&AccessCodeString(f), fCoord_fGrad.fsIn(), in onEmitFragmentCode()
70 SkStringPrintf("%s.x", fEdge_fWind_fCorner.fsIn()).c_str(), in onEmitFragmentCode()
72 f->codeAppendf("%s *= half(%s.y);", outputCoverage, fEdge_fWind_fCorner.fsIn()); // Wind. in onEmitFragmentCode()
76 outputCoverage, fEdge_fWind_fCorner.fsIn(), fEdge_fWind_fCorner.fsIn(), in onEmitFragmentCode()
DGrCCCubicShader.cpp125 this->calcHullCoverage(&AccessCodeString(f), fKLM_fEdge.fsIn(), fGradMatrix.fsIn(), in onEmitFragmentCode()
134 if (fCornerCoverage.fsIn()) { in onEmitFragmentCode()
136 outputCoverage, fCornerCoverage.fsIn(), fCornerCoverage.fsIn(), in onEmitFragmentCode()
DGrCCCoverageProcessor.cpp37 f->codeAppendf("%s = %s;", outputCoverage, fCoverages.fsIn()); in onEmitFragmentCode()
40 outputCoverage, fCoverages.fsIn(), fCoverages.fsIn(), fCoverages.fsIn()); in onEmitFragmentCode()
/external/skqp/src/gpu/ccpr/
DGrCCQuadraticShader.cpp69 this->calcHullCoverage(&AccessCodeString(f), fCoord_fGrad.fsIn(), in onEmitFragmentCode()
70 SkStringPrintf("%s.x", fEdge_fWind_fCorner.fsIn()).c_str(), in onEmitFragmentCode()
72 f->codeAppendf("%s *= %s.y;", outputCoverage, fEdge_fWind_fCorner.fsIn()); // Wind. in onEmitFragmentCode()
76 outputCoverage, fEdge_fWind_fCorner.fsIn(), fEdge_fWind_fCorner.fsIn(), in onEmitFragmentCode()
DGrCCConicShader.cpp75 this->calcHullCoverage(&AccessCodeString(f), fKLM_fWind.fsIn(), fGrad_fCorner.fsIn(), in onEmitFragmentCode()
77 f->codeAppendf("%s *= %s.w;", outputCoverage, fKLM_fWind.fsIn()); // Wind. in onEmitFragmentCode()
81 outputCoverage, fGrad_fCorner.fsIn(), fGrad_fCorner.fsIn(), in onEmitFragmentCode()
DGrCCCubicShader.cpp125 this->calcHullCoverage(&AccessCodeString(f), fKLM_fEdge.fsIn(), fGradMatrix.fsIn(), in onEmitFragmentCode()
134 if (fCornerCoverage.fsIn()) { in onEmitFragmentCode()
136 outputCoverage, fCornerCoverage.fsIn(), fCornerCoverage.fsIn(), in onEmitFragmentCode()
DGrCCCoverageProcessor.cpp37 f->codeAppendf("%s = %s;", outputCoverage, fCoverages.fsIn()); in onEmitFragmentCode()
40 outputCoverage, fCoverages.fsIn(), fCoverages.fsIn(), fCoverages.fsIn()); in onEmitFragmentCode()
/external/skia/src/gpu/ops/
DGrDashOp.cpp870 dashParams.fsIn(), dashParams.fsIn(), dashParams.fsIn(), in onEmitCode()
871 dashParams.fsIn()); in onEmitCode()
873 dashParams.fsIn()); in onEmitCode()
874 fragBuilder->codeAppendf("half2 center = half2(%s.y, 0.0);", circleParams.fsIn()); in onEmitCode()
877 fragBuilder->codeAppendf("half diff = dist - %s.x;", circleParams.fsIn()); in onEmitCode()
882 fragBuilder->codeAppendf("alpha *= dist < %s.x + 0.5 ? 1.0 : 0.0;", circleParams.fsIn()); in onEmitCode()
1070 inDashParams.fsIn(), inDashParams.fsIn(), inDashParams.fsIn(), in onEmitCode()
1071 inDashParams.fsIn()); in onEmitCode()
1073 inDashParams.fsIn()); in onEmitCode()
1079 inRectParams.fsIn()); in onEmitCode()
[all …]
DGrOvalOpFactory.cpp196 capRadius.fsIn(), capRadius.fsIn()); in onEmitCode()
367 fragBuilder->codeAppendf("half4 wrapDashes = %s;", wrapDashes.fsIn()); in onEmitCode()
368 fragBuilder->codeAppendf("half lastIntervalLength = %s;", lastIntervalLength.fsIn()); in onEmitCode()
589 fragBuilder->codeAppendf("float2 offset = %s.xy;", ellipseOffsets.fsIn()); in onEmitCode()
591 fragBuilder->codeAppendf("offset *= %s.xy;", ellipseRadii.fsIn()); in onEmitCode()
596 ellipseOffsets.fsIn(), ellipseRadii.fsIn()); in onEmitCode()
598 fragBuilder->codeAppendf("float2 grad = 2.0*offset*%s.xy;", ellipseRadii.fsIn()); in onEmitCode()
610 ellipseOffsets.fsIn()); in onEmitCode()
618 fragBuilder->codeAppendf("offset = %s.xy*%s.zw;", ellipseOffsets.fsIn(), in onEmitCode()
619 ellipseRadii.fsIn()); in onEmitCode()
[all …]
DGrAAConvexPathRenderer.cpp573 fragBuilder->codeAppendf("half2 duvdx = half2(dFdx(%s.xy));", v.fsIn()); in onEmitCode()
574 fragBuilder->codeAppendf("half2 duvdy = half2(dFdy(%s.xy));", v.fsIn()); in onEmitCode()
575 fragBuilder->codeAppendf("if (%s.z > 0.0 && %s.w > 0.0) {", v.fsIn(), v.fsIn()); in onEmitCode()
577 fragBuilder->codeAppendf("edgeAlpha = min(min(%s.z, %s.w) + 0.5, 1.0);", v.fsIn(), in onEmitCode()
578 v.fsIn()); in onEmitCode()
582 v.fsIn(), v.fsIn()); in onEmitCode()
583 fragBuilder->codeAppendf("edgeAlpha = (%s.x*%s.x - %s.y);", v.fsIn(), v.fsIn(), in onEmitCode()
584 v.fsIn()); in onEmitCode()
DGrAAFillRRectOp.cpp420 f->codeAppendf("float x_plus_1=%s.x, y=%s.y;", arcCoord.fsIn(), arcCoord.fsIn()); in onEmitCode()
431 f->codeAppendf("float gx=%s.z, gy=%s.w;", arcCoord.fsIn(), arcCoord.fsIn()); in onEmitCode()
/external/skqp/src/gpu/ops/
DGrDashOp.cpp864 dashParams.fsIn(), dashParams.fsIn(), dashParams.fsIn(), in onEmitCode()
865 dashParams.fsIn()); in onEmitCode()
866 fragBuilder->codeAppendf("half2 fragPosShifted = half2(xShifted, %s.y);", dashParams.fsIn()); in onEmitCode()
867 fragBuilder->codeAppendf("half2 center = half2(%s.y, 0.0);", circleParams.fsIn()); in onEmitCode()
870 fragBuilder->codeAppendf("half diff = dist - %s.x;", circleParams.fsIn()); in onEmitCode()
875 fragBuilder->codeAppendf("alpha *= dist < %s.x + 0.5 ? 1.0 : 0.0;", circleParams.fsIn()); in onEmitCode()
1063 inDashParams.fsIn(), inDashParams.fsIn(), inDashParams.fsIn(), in onEmitCode()
1064 inDashParams.fsIn()); in onEmitCode()
1065 fragBuilder->codeAppendf("half2 fragPosShifted = half2(xShifted, %s.y);", inDashParams.fsIn()); in onEmitCode()
1070 fragBuilder->codeAppendf("xSub = min(fragPosShifted.x - %s.x, 0.0);", inRectParams.fsIn()); in onEmitCode()
[all …]
DGrAAConvexPathRenderer.cpp574 fragBuilder->codeAppendf("half2 duvdx = dFdx(%s.xy);", v.fsIn()); in onEmitCode()
575 fragBuilder->codeAppendf("half2 duvdy = dFdy(%s.xy);", v.fsIn()); in onEmitCode()
576 fragBuilder->codeAppendf("if (%s.z > 0.0 && %s.w > 0.0) {", v.fsIn(), v.fsIn()); in onEmitCode()
578 fragBuilder->codeAppendf("edgeAlpha = min(min(%s.z, %s.w) + 0.5, 1.0);", v.fsIn(), in onEmitCode()
579 v.fsIn()); in onEmitCode()
583 v.fsIn(), v.fsIn()); in onEmitCode()
584 fragBuilder->codeAppendf("edgeAlpha = (%s.x*%s.x - %s.y);", v.fsIn(), v.fsIn(), in onEmitCode()
585 v.fsIn()); in onEmitCode()
DGrOvalOpFactory.cpp195 capRadius.fsIn(), capRadius.fsIn()); in onEmitCode()
366 fragBuilder->codeAppendf("half4 wrapDashes = %s;", wrapDashes.fsIn()); in onEmitCode()
367 fragBuilder->codeAppendf("half lastIntervalLength = %s;", lastIntervalLength.fsIn()); in onEmitCode()
574 fragBuilder->codeAppendf("half2 offset = %s;", ellipseOffsets.fsIn()); in onEmitCode()
576 fragBuilder->codeAppendf("offset *= %s.xy;", ellipseRadii.fsIn()); in onEmitCode()
579 fragBuilder->codeAppendf("half2 grad = 2.0*offset*%s.xy;", ellipseRadii.fsIn()); in onEmitCode()
589 fragBuilder->codeAppendf("offset = %s*%s.zw;", ellipseOffsets.fsIn(), in onEmitCode()
590 ellipseRadii.fsIn()); in onEmitCode()
592 fragBuilder->codeAppendf("grad = 2.0*offset*%s.zw;", ellipseRadii.fsIn()); in onEmitCode()
721 fragBuilder->codeAppendf("half2 scaledOffset = %s.xy;", offsets0.fsIn()); in onEmitCode()
[all …]
DGrAAFillRRectOp.cpp405 f->codeAppendf("float x_plus_1=%s.x, y=%s.y;", arcCoord.fsIn(), arcCoord.fsIn()); in onEmitCode()
416 f->codeAppendf("float gx=%s.z, gy=%s.w;", arcCoord.fsIn(), arcCoord.fsIn()); in onEmitCode()
/external/skia/gm/
Dsamplelocations.cpp133 coord.fsIn(), coord.fsIn()); in onEmitCode()
135 f->codeAppendf("float2x2 grad = float2x2(%s.x, 0, 0, %s.y);", grad.fsIn(), grad.fsIn()); in onEmitCode()
138 f->sampleOffsets(), coord.fsIn()); in onEmitCode()
Dfwidth_squircle.cpp82 squircleCoord.fsIn(), squircleCoord.fsIn()); in onEmitCode()
/external/skia/src/gpu/glsl/
DGrGLSLVarying.cpp20 fProgramBuilder->fFS.codeAppendf("%s = %s;", output, v.fsIn()); in addPassThroughAttribute()
119 const char* fsIn = v.fVsOut.c_str(); in finalize() local
123 fsIn = v.fGsOut.c_str(); in finalize()
125 fFragInputs.push_back().set(v.fType, fsIn, GrShaderVar::kIn_TypeModifier, nullptr, in finalize()
/external/skqp/src/gpu/glsl/
DGrGLSLVarying.cpp20 fProgramBuilder->fFS.codeAppendf("%s = %s;", output, v.fsIn()); in addPassThroughAttribute()
120 const char* fsIn = v.fVsOut.c_str(); in finalize() local
124 fsIn = v.fGsOut.c_str(); in finalize()
126 fFragInputs.push_back().set(v.fType, fsIn, GrShaderVar::kIn_TypeModifier, in finalize()
/external/skqp/gm/
Dfwidth_squircle.cpp85 squircleCoord.fsIn(), squircleCoord.fsIn()); in onEmitCode()

12