Home
last modified time | relevance | path

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

/external/skia/src/shaders/
DSkPerlinNoiseShader.cpp852 const char* floorVal = "floorVal"; in emitCode() local
878 noiseCode.appendf("\thalf4 %s;\n", floorVal); in emitCode()
879 noiseCode.appendf("\t%s.xy = floor(%s);\n", floorVal, noiseVec); in emitCode()
880 noiseCode.appendf("\t%s.zw = %s.xy + half2(1.0);\n", floorVal, floorVal); in emitCode()
890 floorVal, stitchData, floorVal, stitchData); in emitCode()
892 floorVal, stitchData, floorVal, stitchData); in emitCode()
894 floorVal, stitchData, floorVal, stitchData); in emitCode()
896 floorVal, stitchData, floorVal, stitchData); in emitCode()
901 floorVal, floorVal); in emitCode()
906 xCoords.appendf("half2(%s.x, 0.5)", floorVal); in emitCode()
[all …]
/external/skqp/src/shaders/
DSkPerlinNoiseShader.cpp845 const char* floorVal = "floorVal"; in emitCode() local
871 noiseCode.appendf("\thalf4 %s;\n", floorVal); in emitCode()
872 noiseCode.appendf("\t%s.xy = floor(%s);\n", floorVal, noiseVec); in emitCode()
873 noiseCode.appendf("\t%s.zw = %s.xy + half2(1.0);\n", floorVal, floorVal); in emitCode()
883 floorVal, stitchData, floorVal, stitchData); in emitCode()
885 floorVal, stitchData, floorVal, stitchData); in emitCode()
887 floorVal, stitchData, floorVal, stitchData); in emitCode()
889 floorVal, stitchData, floorVal, stitchData); in emitCode()
894 floorVal, floorVal); in emitCode()
899 xCoords.appendf("half2(%s.x, 0.5)", floorVal); in emitCode()
[all …]
/external/deqp/framework/common/
DtcuTexture.cpp1592 float floorVal = a - fracVal; in rint() local
1593 bool roundUp = (deInt64)floorVal % 2 != 0; in rint()
1595 return floorVal + (roundUp ? 1.0f : 0.0f); in rint()