Searched refs:floorVal (Results 1 – 2 of 2) sorted by relevance
/third_party/flutter/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 …]
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTexture.cpp | 1752 float floorVal = a - fracVal; in rint() local 1753 bool roundUp = (deInt64)floorVal % 2 != 0; in rint() 1755 return floorVal + (roundUp ? 1.0f : 0.0f); in rint()
|