Searched refs:floorVal (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 863 const char* floorVal = "floorVal"; in emitCode() local 889 noiseCode.appendf("\thalf4 %s;\n", floorVal); in emitCode() 890 noiseCode.appendf("\t%s.xy = floor(%s);\n", floorVal, noiseVec); in emitCode() 891 noiseCode.appendf("\t%s.zw = %s.xy + half2(1.0);\n", floorVal, floorVal); in emitCode() 901 floorVal, stitchData, floorVal, stitchData); in emitCode() 903 floorVal, stitchData, floorVal, stitchData); in emitCode() 905 floorVal, stitchData, floorVal, stitchData); in emitCode() 907 floorVal, stitchData, floorVal, stitchData); in emitCode() 912 floorVal, floorVal); in emitCode() 917 xCoords.appendf("half2(%s.x, 0.5)", floorVal); in emitCode() [all …]
|
/external/skqp/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 862 const char* floorVal = "floorVal"; in emitCode() local 888 noiseCode.appendf("\thalf4 %s;\n", floorVal); in emitCode() 889 noiseCode.appendf("\t%s.xy = floor(%s);\n", floorVal, noiseVec); in emitCode() 890 noiseCode.appendf("\t%s.zw = %s.xy + half2(1.0);\n", floorVal, floorVal); in emitCode() 900 floorVal, stitchData, floorVal, stitchData); in emitCode() 902 floorVal, stitchData, floorVal, stitchData); in emitCode() 904 floorVal, stitchData, floorVal, stitchData); in emitCode() 906 floorVal, stitchData, floorVal, stitchData); in emitCode() 911 floorVal, floorVal); in emitCode() 916 xCoords.appendf("half2(%s.x, 0.5)", floorVal); in emitCode() [all …]
|
/external/deqp/framework/common/ |
D | tcuTexture.cpp | 1592 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()
|