Home
last modified time | relevance | path

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

/external/skia/src/shaders/
DSkPerlinNoiseShader.cpp864 const char* fractVal = "fractVal"; in emitCode() local
892 noiseCode.appendf("\thalf2 %s = fract(%s);\n", fractVal, noiseVec); in emitCode()
896 noiseSmooth, fractVal, fractVal, fractVal); in emitCode()
959 noiseCode.appendf(dotLattice, lattice, lattice, inc8bit, fractVal); in emitCode()
962 noiseCode.appendf("\n\t%s.x -= 1.0;", fractVal); in emitCode()
971 noiseCode.appendf(dotLattice, lattice, lattice, inc8bit, fractVal); in emitCode()
978 noiseCode.appendf("\n\t%s.y -= 1.0;", fractVal); in emitCode()
987 noiseCode.appendf(dotLattice, lattice, lattice, inc8bit, fractVal); in emitCode()
990 noiseCode.appendf("\n\t%s.x += 1.0;", fractVal); in emitCode()
999 noiseCode.appendf(dotLattice, lattice, lattice, inc8bit, fractVal); in emitCode()
/external/skqp/src/shaders/
DSkPerlinNoiseShader.cpp863 const char* fractVal = "fractVal"; in emitCode() local
891 noiseCode.appendf("\thalf2 %s = fract(%s);\n", fractVal, noiseVec); in emitCode()
895 noiseSmooth, fractVal, fractVal, fractVal); in emitCode()
958 noiseCode.appendf(dotLattice, lattice, lattice, inc8bit, fractVal); in emitCode()
961 noiseCode.appendf("\n\t%s.x -= 1.0;", fractVal); in emitCode()
970 noiseCode.appendf(dotLattice, lattice, lattice, inc8bit, fractVal); in emitCode()
977 noiseCode.appendf("\n\t%s.y -= 1.0;", fractVal); in emitCode()
986 noiseCode.appendf(dotLattice, lattice, lattice, inc8bit, fractVal); in emitCode()
989 noiseCode.appendf("\n\t%s.x += 1.0;", fractVal); in emitCode()
998 noiseCode.appendf(dotLattice, lattice, lattice, inc8bit, fractVal); in emitCode()