Searched refs:deFloatRound (Results 1 – 9 of 9) sorted by relevance
52 const tcu::IVec4 result ((deInt32)deFloatRound(color.x()), (deInt32)deFloatRound(color.y()), in defaultClearColorInt()53 (deInt32)deFloatRound(color.z()), (deInt32)deFloatRound(color.w())); in defaultClearColorInt()63 const tcu::UVec4 result ((deUint32)deFloatRound(color.x()), (deUint32)deFloatRound(color.y()), in defaultClearColorUint()64 (deUint32)deFloatRound(color.z()), (deUint32)deFloatRound(color.w())); in defaultClearColorUint()
180 const bool useRoundingMargin = deFloatAbs(scaledInput - deFloatRound(scaledInput)) < 0.0001f; in checkColor()189 if (scaledInput > deFloatRound(scaledInput)) in checkColor()198 …const int renderedClrInFormat = (int)deFloatRound((float)(renderedClr.toIVec()[chanNdx] * channel… in checkColor()
1582 …maskBitIndices[sampleNdx] = (int)deFloatRound((float)color.getGreen() / 255.0f * (float)m_numTarge… in verifySampleBuffers()1800 int redBits = (int)deFloatRound((float)lowColor.getRed() / 255.0f * 31); in postTest()1801 int greenBits = (int)deFloatRound((float)lowColor.getGreen() / 255.0f * 63); in postTest()1802 int blueBits = (int)deFloatRound((float)lowColor.getBlue() / 255.0f * 31); in postTest()1807 int redBits = (int)deFloatRound((float)highColor.getRed() / 255.0f * 31); in postTest()1808 int greenBits = (int)deFloatRound((float)highColor.getGreen() / 255.0f * 63); in postTest()1809 int blueBits = (int)deFloatRound((float)highColor.getBlue() / 255.0f * 31); in postTest()
1259 …t tcu::IVec2 rasterPos ((int)deFloatRound((vertices[ndx].x() * 0.5f + 0.5f) * (float)image.getWid… in verifyRenderedImage()
89 DE_INLINE float deFloatRound (float a) { return deFloatFloor(a + 0.5f); } in deFloatRound() function
285 const int handOptimizationGain = (int)deFloatRound(100.0f/ratio) - 100; in iterate()
288 const int handOptimizationGain = (int)deFloatRound(100.0f/ratio) - 100; in iterate()
1534 return deFloatRound(a); // Ordinary case. in rint()