Home
last modified time | relevance | path

Searched refs:deFloatRound (Results 1 - 16 of 16) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineClearUtil.cpp52 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineClearUtil.cpp52 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()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fDitheringTests.cpp180 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] * channelMax) / 255.0f); in checkColor()
/third_party/vk-gl-cts/modules/gles2/functional/
H A 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] * channelMax) / 255.0f); in checkColor()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fSampleVariableTests.cpp1603 maskBitIndices[sampleNdx] = (int)deFloatRound((float)color.getGreen() / 255.0f * (float)m_numTargetSamples);
1822 int redBits = (int)deFloatRound((float)lowColor.getRed() / 255.0f * 31);
1823 int greenBits = (int)deFloatRound((float)lowColor.getGreen() / 255.0f * 63);
1824 int blueBits = (int)deFloatRound((float)lowColor.getBlue() / 255.0f * 31);
1829 int redBits = (int)deFloatRound((float)highColor.getRed() / 255.0f * 31);
1830 int greenBits = (int)deFloatRound((float)highColor.getGreen() / 255.0f * 63);
1831 int blueBits = (int)deFloatRound((float)highColor.getBlue() / 255.0f * 31);
H A Des31fTessellationGeometryInteractionTests.cpp1268 const tcu::IVec2 rasterPos ((int)deFloatRound((vertices[ndx].x() * 0.5f + 0.5f) * (float)image.getWidth()), (int)deFloatRound((vertices[ndx].y() * 0.5f + 0.5f) * (float)image.getHeight()));
/third_party/vk-gl-cts/framework/delibs/debase/
H A DdeMath.h167 DE_INLINE float deFloatRound (float a) { return deFloatFloor(a + 0.5f); } in deFloatRound() function
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
H A DvktRobustnessVertexAccessTests.cpp982 encodedValue = deMin32(deUint32(deFloatRound(normValue * 0x3u)), 0x3u); in isValueWithinVertexBufferOrZero()
984 encodedValue = deMin32(deUint32(deFloatRound(normValue * 0x3FFu)), 0x3FFu); in isValueWithinVertexBufferOrZero()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcShaderRenderCase.cpp791 color.w() = deFloatRound(color.w()); in computeVertexReference()
823 color.w() = deFloatRound(color.w()); in computeFragmentReference()
H A DglcShaderConstExprTests.cpp400 { "round", "round(${T} (2.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, { deFloatRound(2.2f) } }, in init()
H A DglcInternalformatTests.cpp662 unsigned int a = static_cast<unsigned int>(deFloatRound(inColor[3] * 3)) << 30; in convertUInt_2_10_10_10_rev()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A DvktRobustnessVertexAccessTests.cpp989 encodedValue = deMin32(deUint32(deFloatRound(normValue * 0x3u)), 0x3u); in isValueWithinVertexBufferOrZero()
991 encodedValue = deMin32(deUint32(deFloatRound(normValue * 0x3FFu)), 0x3FFu); in isValueWithinVertexBufferOrZero()
/third_party/vk-gl-cts/modules/gles3/performance/
H A Des3pShaderOptimizationTests.cpp288 const int handOptimizationGain = (int)deFloatRound(100.0f/ratio) - 100; in iterate()
/third_party/vk-gl-cts/modules/gles2/performance/
H A Des2pShaderOptimizationTests.cpp285 const int handOptimizationGain = (int)deFloatRound(100.0f/ratio) - 100; in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cGPUShaderFP64Tests.cpp7126 int rounded_uniform_value_sint = (int)(deFloatRound((float)uniform_value[n_component])); in verifyUniformValues()
7129 ((unsigned int)deFloatRound((float)uniform_value[n_component])) : in verifyUniformValues()
/third_party/vk-gl-cts/framework/common/
H A DtcuTexture.cpp1875 return deFloatRound(a); // Ordinary case. in rint()

Completed in 67 milliseconds