Home
last modified time | relevance | path

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

/third_party/skia/src/shaders/
DSkPerlinNoiseShader.cpp766 SkString dotLattice = in emitCode() local
776 noiseCode.appendf("uv.x = %s;", dotLattice.c_str()); in emitCode()
781 noiseCode.appendf("uv.y = %s;", dotLattice.c_str()); in emitCode()
790 noiseCode.appendf("uv.y = %s;", dotLattice.c_str()); in emitCode()
795 noiseCode.appendf("uv.x = %s;", dotLattice.c_str()); in emitCode()
/third_party/flutter/skia/src/shaders/
DSkPerlinNoiseShader.cpp873 const char* dotLattice = "dot(((%s.ga + %s.rb * half2(%s)) * half2(2.0) - half2(1.0)), %s);"; in emitCode() local
959 noiseCode.appendf(dotLattice, lattice, lattice, inc8bit, fractVal); in emitCode()
971 noiseCode.appendf(dotLattice, lattice, lattice, inc8bit, fractVal); in emitCode()
987 noiseCode.appendf(dotLattice, lattice, lattice, inc8bit, fractVal); in emitCode()
999 noiseCode.appendf(dotLattice, lattice, lattice, inc8bit, fractVal); in emitCode()