Home
last modified time | relevance | path

Searched refs:deFloatRound (Results 1 – 8 of 8) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fDitheringTests.cpp180 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()
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp180 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()
/external/deqp/modules/gles31/functional/
Des31fSampleVariableTests.cpp1537 maskBitIndices[sampleNdx] = (int)deFloatRound(color.getGreen() / 255.0f * m_numTargetSamples); in verifySampleBuffers()
1751 int redBits = (int)deFloatRound(lowColor.getRed() / 255.0f * 31); in postTest()
1752 int greenBits = (int)deFloatRound(lowColor.getGreen() / 255.0f * 63); in postTest()
1753 int blueBits = (int)deFloatRound(lowColor.getBlue() / 255.0f * 31); in postTest()
1758 int redBits = (int)deFloatRound(highColor.getRed() / 255.0f * 31); in postTest()
1759 int greenBits = (int)deFloatRound(highColor.getGreen() / 255.0f * 63); in postTest()
1760 int blueBits = (int)deFloatRound(highColor.getBlue() / 255.0f * 31); in postTest()
Des31fTessellationGeometryInteractionTests.cpp1234 …const tcu::IVec2 rasterPos ((int)deFloatRound((vertices[ndx].x() * 0.5f + 0.5f) * image.getWidth(… in verifyRenderedImage()
/external/deqp/framework/delibs/debase/
DdeMath.h87 DE_INLINE float deFloatRound (float a) { return deFloatFloor(a + 0.5f); } in deFloatRound() function
/external/deqp/modules/gles2/performance/
Des2pShaderOptimizationTests.cpp285 const int handOptimizationGain = (int)deFloatRound(100.0f/ratio) - 100; in iterate()
/external/deqp/modules/gles3/performance/
Des3pShaderOptimizationTests.cpp288 const int handOptimizationGain = (int)deFloatRound(100.0f/ratio) - 100; in iterate()
/external/deqp/framework/common/
DtcuTexture.cpp1102 return deFloatRound(a); // Ordinary case. in rint()