Searched refs:deFloatRound (Results 1 – 15 of 15) sorted by relevance
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineClearUtil.cpp | 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()
|
/external/deqp/modules/gles3/functional/ |
D | es3fDitheringTests.cpp | 180 const bool useRoundingMargin = deFloatAbs(scaledInput - deFloatRound(scaledInput)) < 0.0001f; in checkColor() 195 if (scaledInput > deFloatRound(scaledInput)) in checkColor() 204 …const int renderedClrInFormat = (int)deFloatRound((float)(renderedClr.toIVec()[chanNdx] * channel… in checkColor()
|
/external/deqp/modules/gles2/functional/ |
D | es2fDitheringTests.cpp | 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()
|
/external/deqp/modules/gles31/functional/ |
D | es31fSampleVariableTests.cpp | 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()
|
D | es31fTessellationGeometryInteractionTests.cpp | 1259 …t tcu::IVec2 rasterPos ((int)deFloatRound((vertices[ndx].x() * 0.5f + 0.5f) * (float)image.getWid… in verifyRenderedImage()
|
/external/deqp/framework/delibs/debase/ |
D | deMath.h | 90 DE_INLINE float deFloatRound (float a) { return deFloatFloor(a + 0.5f); } in deFloatRound() function
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 902 encodedValue = deMin32(deUint32(deFloatRound(normValue * 0x3u)), 0x3u); in isValueWithinVertexBufferOrZero() 904 encodedValue = deMin32(deUint32(deFloatRound(normValue * 0x3FFu)), 0x3FFu); in isValueWithinVertexBufferOrZero()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderRenderCase.cpp | 791 color.w() = deFloatRound(color.w()); in computeVertexReference() 823 color.w() = deFloatRound(color.w()); in computeFragmentReference()
|
D | glcShaderConstExprTests.cpp | 400 …{ "round", "round(${T} (2.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, { deFloatRound(2.2f… in init()
|
D | glcInternalformatTests.cpp | 617 unsigned int a = static_cast<unsigned int>(deFloatRound(inColor[3] * 3)) << 30; in convertUInt_2_10_10_10_rev()
|
/external/angle/src/tests/deqp_support/ |
D | glcShaderConstExprTests_override.cpp | 538 {"round", "round(${T} (2.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, {deFloatRound(2.2f)}}, in init()
|
/external/deqp/modules/gles2/performance/ |
D | es2pShaderOptimizationTests.cpp | 285 const int handOptimizationGain = (int)deFloatRound(100.0f/ratio) - 100; in iterate()
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderOptimizationTests.cpp | 288 const int handOptimizationGain = (int)deFloatRound(100.0f/ratio) - 100; in iterate()
|
/external/deqp/framework/common/ |
D | tcuTexture.cpp | 1653 return deFloatRound(a); // Ordinary case. in rint()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cGPUShaderFP64Tests.cpp | 7153 int rounded_uniform_value_sint = (int)(deFloatRound((float)uniform_value[n_component])); in verifyUniformValues() 7156 ((unsigned int)deFloatRound((float)uniform_value[n_component])) : in verifyUniformValues()
|