Home
last modified time | relevance | path

Searched refs:noiseCode (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/src/shaders/
DSkPerlinNoiseShader.cpp721 SkString noiseCode; in emitCode() local
723 noiseCode.append( in emitCode()
733 noiseCode.append( in emitCode()
744 noiseCode.appendf("half2 latticeIdx = half2(%s.a, %s.a);", sampleX.c_str(), sampleY.c_str()); in emitCode()
753 noiseCode.append( in emitCode()
758 noiseCode.append("half4 bcoords = 256*latticeIdx.xyxy + floorVal.yyww;"); in emitCode()
760 noiseCode.append("half2 uv;"); in emitCode()
775 noiseCode.appendf("half4 lattice = %s;", sampleA.c_str()); in emitCode()
776 noiseCode.appendf("uv.x = %s;", dotLattice.c_str()); in emitCode()
779 noiseCode.append("fractVal.x -= 1.0;"); in emitCode()
[all …]