/external/deqp/modules/gles31/functional/ |
D | es31fShaderPackingFunctionTests.cpp | 213 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate() 214 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate() 404 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate() 405 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate() 815 …const deUint16 ref0 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f, … in iterate() 816 …const deUint16 ref1 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f, … in iterate() 817 …const deUint16 ref2 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), -1.0f, … in iterate() 818 …const deUint16 ref3 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].w(), -1.0f, … in iterate() 1024 …const deUint16 ref0 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, 1… in iterate() 1025 …const deUint16 ref1 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, 1… in iterate() [all …]
|
D | es31fPrimitiveBoundingBoxTests.cpp | 2200 if (missedPixels <= deRoundFloatToInt32((float)totalPixels * 0.1f)) in checkLineContinuity() 2965 …const tcu::IVec2 pixelCenter(deRoundFloatToInt32((refPoint.center.x() * 0.5f + 0.5f) * (float)view… in verifyNarrowPointPattern() 2966 deRoundFloatToInt32((refPoint.center.y() * 0.5f + 0.5f) * (float)viewport.getHeight())); in verifyNarrowPointPattern() 3048 …const tcu::IVec2 pointPos = tcu::IVec2(deRoundFloatToInt32((refPoint.center.x()*0.5f + 0.5f) * (… in verifyWidePoint() 3049 … deRoundFloatToInt32((refPoint.center.y()*0.5f + 0.5f) * (float)viewport.getHeight())); in verifyWidePoint()
|
/external/deqp/framework/randomshaders/ |
D | rsgProgramExecutor.cpp | 205 return tcu::RGBA(deClamp32(deRoundFloatToInt32(rgba.x()*255), 0, 255), in toColor() 206 deClamp32(deRoundFloatToInt32(rgba.y()*255), 0, 255), in toColor() 207 deClamp32(deRoundFloatToInt32(rgba.z()*255), 0, 255), in toColor() 208 deClamp32(deRoundFloatToInt32(rgba.w()*255), 0, 255)); in toColor()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderPackingFunctionTests.cpp | 214 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate() 215 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate() 437 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate() 438 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate() 912 …const deUint16 ref0 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f, … in iterate() 913 …const deUint16 ref1 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f, … in iterate() 914 …const deUint16 ref2 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), -1.0f, … in iterate() 915 …const deUint16 ref3 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].w(), -1.0f, … in iterate() 1155 …const deUint16 ref0 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, 1… in iterate() 1156 …const deUint16 ref1 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, 1… in iterate() [all …]
|
/external/deqp/modules/glshared/ |
D | glsShaderPerformanceCase.cpp | 84 numVert = deRoundFloatToInt32((float)numFrag / fragmentsPerVertices); in setVertexFragmentRatio() 97 numFrag = deRoundFloatToInt32((float)numVert * fragmentsPerVertices); in setVertexFragmentRatio()
|
D | glsCalibration.cpp | 332 …int numMeasureFrames = deClamp32(deRoundFloatToInt32(m_params.targetMeasureDurationUs / m_calibr… in recomputeParameters()
|
D | glsTextureBufferCase.cpp | 200 …cu::Vec4(m_texture.getPixel(de::clamp<int>((deRoundFloatToInt32(position.x() * 4) + 4) * (deRoundF… in shadeVertices()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryInstancedRenderingTests.cpp | 503 const int ix1 = std::max(deRoundFloatToInt32(x1), 0); in getSubregion() 504 const int ix2 = std::min(deRoundFloatToInt32(x2), image.getWidth()); in getSubregion() 505 const int iy1 = std::max(deRoundFloatToInt32(y1), 0); in getSubregion() 506 const int iy2 = std::min(deRoundFloatToInt32(y2), image.getHeight()); in getSubregion()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineVertexInputTests.cpp | 1418 deRoundFloatToInt32((float)m_renderSize.x() * 0.0f), in verifyImage() 1419 deRoundFloatToInt32((float)m_renderSize.y() * 0.0f), in verifyImage() 1420 deRoundFloatToInt32((float)m_renderSize.x() * 0.5f), in verifyImage() 1421 deRoundFloatToInt32((float)m_renderSize.y() * 1.0f))); in verifyImage() 1423 deRoundFloatToInt32((float)m_renderSize.x() * 0.5f), in verifyImage() 1424 deRoundFloatToInt32((float)m_renderSize.y() * 0.0f), in verifyImage() 1425 deRoundFloatToInt32((float)m_renderSize.x() * 0.5f), in verifyImage() 1426 deRoundFloatToInt32((float)m_renderSize.y() * 1.0f))); in verifyImage()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderBuiltinVarTests.cpp | 473 const int x0 = deRoundFloatToInt32(centerX - size*0.5f); in iterate() 474 const int y0 = deRoundFloatToInt32(centerY - size*0.5f); in iterate() 475 const int x1 = deRoundFloatToInt32(centerX + size*0.5f); in iterate() 476 const int y1 = deRoundFloatToInt32(centerY + size*0.5f); in iterate()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderBuiltinVarTests.cpp | 532 …const int x0 = deRoundFloatToInt32(float(width) *(pointIter->x()*0.5f + 0.5f) - pointIter->z()*0.… in iterate() 533 …const int y0 = deRoundFloatToInt32(float(height)*(pointIter->y()*0.5f + 0.5f) - pointIter->z()*0.… in iterate() 534 …const int x1 = deRoundFloatToInt32(float(width) *(pointIter->x()*0.5f + 0.5f) + pointIter->z()*0.… in iterate() 535 …const int y1 = deRoundFloatToInt32(float(height)*(pointIter->y()*0.5f + 0.5f) + pointIter->z()*0.… in iterate()
|
D | es2fDepthStencilClearTests.cpp | 440 …olor = tcu::RGBA(oldColor.getRed(), oldColor.getGreen(), deClamp32(deRoundFloatToInt32(step * 255.… in renderReference() 488 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0,… in renderReference()
|
D | es2fDepthRangeTests.cpp | 384 int col = de::clamp(deRoundFloatToInt32((float)step*depthStep*255.0f), 0, 255); in iterate()
|
D | es2fBufferWriteTests.cpp | 488 …const int size = de::clamp(deRoundFloatToInt32((float)m_curSize * deFloatPow(rnd.getFloat(0.0f, 0.… in iterate()
|
/external/deqp/modules/egl/ |
D | teglGLES2SharingTests.cpp | 439 int ox = deRoundFloatToInt32((float)width / 2.0f); in renderResource() 440 int oy = deRoundFloatToInt32((float)height / 2.0f); in renderResource() 441 int x1 = deRoundFloatToInt32(((float)width * fx1 / 2.0f) + (float)ox); in renderResource() 442 int y1 = deRoundFloatToInt32(((float)height * fy1 / 2.0f) + (float)oy); in renderResource() 443 int x2 = deRoundFloatToInt32(((float)width * fx2 / 2.0f) + (float)ox); in renderResource() 444 int y2 = deRoundFloatToInt32(((float)height * fy2 / 2.0f) + (float)oy); in renderResource()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.cpp | 86 levelBounds[0] = deRoundFloatToInt32(q); in calcLevelBounds() 99 levelBounds[1] = deRoundFloatToInt32(q); in calcLevelBounds() 108 levelBounds[ndx] = deRoundFloatToInt32(q); in calcLevelBounds()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderPackingFunctionTests.cpp | 209 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate() 210 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate() 400 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate() 401 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate()
|
D | es3fShaderBuiltinVarTests.cpp | 558 …const int x0 = deRoundFloatToInt32(float(width) *(pointIter->x()*0.5f + 0.5f) - pointIter->z()*0.… in iterate() 559 …const int y0 = deRoundFloatToInt32(float(height)*(pointIter->y()*0.5f + 0.5f) - pointIter->z()*0.… in iterate() 560 …const int x1 = deRoundFloatToInt32(float(width) *(pointIter->x()*0.5f + 0.5f) + pointIter->z()*0.… in iterate() 561 …const int y1 = deRoundFloatToInt32(float(height)*(pointIter->y()*0.5f + 0.5f) + pointIter->z()*0.… in iterate()
|
D | es3fDepthStencilClearTests.cpp | 443 …olor = tcu::RGBA(oldColor.getRed(), oldColor.getGreen(), deClamp32(deRoundFloatToInt32(step * 255.… in renderReference() 491 …tcu::RGBA newColor = tcu::RGBA(oldColor.getRed(), deClamp32(deRoundFloatToInt32(step * 255.0f), 0,… in renderReference()
|
D | es3fFragDepthTests.cpp | 410 int col = de::clamp(deRoundFloatToInt32((float)step*depthStep*255.0f), 0, 255); in iterate()
|
D | es3fBufferWriteTests.cpp | 500 …const int size = de::clamp(deRoundFloatToInt32((float)m_curSize * deFloatPow(rnd.getFloat(0.0f, 0.… in iterate()
|
/external/deqp/framework/delibs/debase/ |
D | deMath.h | 217 DE_INLINE deInt32 deRoundFloatToInt32 (float x) { if(x >= 0.0f) return (deInt32)(x + 0.5f); else… in deRoundFloatToInt32() function
|
/external/deqp/framework/common/ |
D | tcuRasterizationVerifier.cpp | 2135 …I64Vec2(deRoundFloatToInt32(triangleScreenSpace[0].x() * (float)numSubPixels), deRoundFloatToInt32… in calculateTriangleCoverage() 2136 …I64Vec2(deRoundFloatToInt32(triangleScreenSpace[1].x() * (float)numSubPixels), deRoundFloatToInt32… in calculateTriangleCoverage() 2137 …I64Vec2(deRoundFloatToInt32(triangleScreenSpace[2].x() * (float)numSubPixels), deRoundFloatToInt32… in calculateTriangleCoverage()
|
D | tcuTestLog.cpp | 230 res[i] = de::max(1, deRoundFloatToInt32((float)imageSize[i] / d)); in computeScaledSize()
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktRenderPassTests.cpp | 2945 const IVec2 posAI (deRoundFloatToInt32(origin.x() + (p.x() * posA.x())), in renderReferenceValues() 2946 deRoundFloatToInt32(origin.y() + (p.y() * posA.y()))); in renderReferenceValues() 2947 const IVec2 posBI (deRoundFloatToInt32(origin.x() + (p.x() * posB.x())), in renderReferenceValues() 2948 deRoundFloatToInt32(origin.y() + (p.y() * posB.y()))); in renderReferenceValues() 4111 const deInt32 xi = deRoundFloatToInt32(origin + (p * x)); in roundToViewport()
|