/external/deqp/modules/gles2/functional/ |
D | es2fReadPixelsTests.cpp | 208 …const int rowPitch = m_alignment * deCeilFloatToInt32(float(pixelSize * width) / (float)m_alignmen… in iterate() 218 …const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_… in iterate() 219 …const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(… in iterate() 220 …const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m… in iterate() 221 …const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(… in iterate()
|
D | es2fVertexTextureTests.cpp | 343 const int ix0 = deCeilFloatToInt32(ldru.x() * (float)region.w - 0.5f); in setPixelColors() 344 const int ix1 = deCeilFloatToInt32(ldru.z() * (float)region.w - 0.5f); in setPixelColors() 345 const int iy0 = deCeilFloatToInt32(ldru.y() * (float)region.h - 0.5f); in setPixelColors() 346 const int iy1 = deCeilFloatToInt32(ldru.w() * (float)region.h - 0.5f); in setPixelColors()
|
D | es2fTextureUnitTests.cpp | 437 …const deInt32 maxLevel = (lodMax + epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMax + epsilon + … in makeSafeLods() 438 …const deInt32 minLevel = (lodMin - epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMin - epsilon + … in makeSafeLods()
|
/external/deqp/modules/glshared/ |
D | glsInteractionTestUtil.cpp | 157 int minScissorW = deCeilFloatToInt32(minScissorSize * (float)targetWidth); in computeRandomRenderState() 158 int minScissorH = deCeilFloatToInt32(minScissorSize * (float)targetHeight); in computeRandomRenderState() 230 int minW = deCeilFloatToInt32(minSize * (float)targetWidth); in computeRandomQuad() 231 int minH = deCeilFloatToInt32(minSize * (float)targetHeight); in computeRandomQuad()
|
D | glsShaderRenderCase.cpp | 681 int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference() 682 int ix1 = deCeilFloatToInt32(sx1 - 0.5f); in computeVertexReference() 683 int iy0 = deCeilFloatToInt32(sy0 - 0.5f); in computeVertexReference() 684 int iy1 = deCeilFloatToInt32(sy1 - 0.5f); in computeVertexReference()
|
D | glsFragOpInteractionCase.cpp | 189 const int minW = deCeilFloatToInt32(minSize * (float)targetW); in getRandomQuad() 190 const int minH = deCeilFloatToInt32(minSize * (float)targetH); in getRandomQuad()
|
D | glsVertexArrayTests.cpp | 1773 …, m_maxDiffRed (deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << m_renderCtx.getRenderTarget().ge… in VertexArrayTest() 1774 …, m_maxDiffGreen (deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << m_renderCtx.getRenderTarget().g… in VertexArrayTest() 1775 …, m_maxDiffBlue (deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << m_renderCtx.getRenderTarget().g… in VertexArrayTest()
|
D | glsShaderLibraryCase.cpp | 1293 const int minY = deCeilFloatToInt32 (((-quadSize / w) * 0.5f + 0.5f) * (float)height + 1.0f); in execute() 1295 const int minX = deCeilFloatToInt32 (((-quadSize / w) * 0.5f + 0.5f) * (float)width + 1.0f); in execute()
|
D | glsDrawTest.cpp | 3130 …m_maxDiffRed = deCeilFloatToInt32(256.0f * (6.0f / (float)(1 << m_renderCtx.getRenderTarget().getP… in init() 3131 …m_maxDiffGreen = deCeilFloatToInt32(256.0f * (6.0f / (float)(1 << m_renderCtx.getRenderTarget().ge… in init() 3132 …m_maxDiffBlue = deCeilFloatToInt32(256.0f * (6.0f / (float)(1 << m_renderCtx.getRenderTarget().get… in init()
|
/external/deqp/modules/gles3/functional/ |
D | es3fReadPixelsTests.cpp | 314 …const int rowPitch = m_alignment * deCeilFloatToInt32(float(pixelSize * rowWidth) / (float)m_align… in clearColor() 356 …const int rowPitch = m_alignment * deCeilFloatToInt32((float)(pixelSize * rowWidth) / (floa… in iterate() 363 …const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_… in iterate() 364 …const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(… in iterate() 365 …const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m… in iterate() 366 …const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(… in iterate()
|
D | es3fVertexTextureTests.cpp | 438 const int ix0 = deCeilFloatToInt32(ldru.x() * (float)region.w - 0.5f); in setPixelColors() 439 const int ix1 = deCeilFloatToInt32(ldru.z() * (float)region.w - 0.5f); in setPixelColors() 440 const int iy0 = deCeilFloatToInt32(ldru.y() * (float)region.h - 0.5f); in setPixelColors() 441 const int iy1 = deCeilFloatToInt32(ldru.w() * (float)region.h - 0.5f); in setPixelColors()
|
D | es3fTextureUnitTests.cpp | 593 …const deInt32 maxLevel = (lodMax + epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMax + epsilon + … in makeSafeLods() 594 …const deInt32 minLevel = (lodMin - epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMin - epsilon + … in makeSafeLods()
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsScissorMultiViewportTests.cpp | 390 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); in generateScissors() 391 …const int numRows = deCeilFloatToInt32(static_cast<float>(numScissors) / static_cast<float>(numCo… in generateScissors()
|
/external/deqp/framework/delibs/debase/ |
D | deMath.h | 213 DE_INLINE deInt32 deCeilFloatToInt32 (float x) { return (deInt32)(deFloatCeil(x)); } in deCeilFloatToInt32() function
|
/external/deqp/framework/common/ |
D | tcuRasterizationVerifier.cpp | 2193 …I64Vec2(deCeilFloatToInt32(triangleScreenSpace[0].x() * (float)numSubPixels), deCeilFloatToInt32(t… in calculateTriangleCoverage() 2194 …I64Vec2(deCeilFloatToInt32(triangleScreenSpace[1].x() * (float)numSubPixels), deCeilFloatToInt32(t… in calculateTriangleCoverage() 2195 …I64Vec2(deCeilFloatToInt32(triangleScreenSpace[2].x() * (float)numSubPixels), deCeilFloatToInt32(t… in calculateTriangleCoverage()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.cpp | 82 levelBounds[0] = deCeilFloatToInt32(lodBounds[0] + 0.5f) - 1; in calcLevelBounds()
|
D | vktSampleVerifier.cpp | 470 stepMax = deCeilFloatToInt32 (lodFracBounds[1] * (float)mipmapSteps); in getMipmapStepBounds()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderBuiltinVarTests.cpp | 1703 IVec2 sampleCeil(deCeilFloatToInt32((*sampleIt).x()), deCeilFloatToInt32((*sampleIt).y())); in validateSampleLocations() 2210 …const int pointSizeDeltaMultiples = de::max(1, deCeilFloatToInt32((maxPointSize - minPointSiz… in iterate()
|
D | vktShaderRender.cpp | 3081 const int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference() 3082 const int ix1 = deCeilFloatToInt32(sx1 - 0.5f); in computeVertexReference() 3083 const int iy0 = deCeilFloatToInt32(sy0 - 0.5f); in computeVertexReference() 3084 const int iy1 = deCeilFloatToInt32(sy1 - 0.5f); in computeVertexReference()
|
/external/deqp/modules/gles31/functional/ |
D | es31fPrimitiveBoundingBoxTests.cpp | 118 pixelBox.z() = deCeilFloatToInt32(vertexBox.z() + size/2.0f); in getViewportBoundingBoxArea() 119 pixelBox.w() = deCeilFloatToInt32(vertexBox.w() + size/2.0f); in getViewportBoundingBoxArea() 4798 …const tcu::IVec2 insideBorder (deCeilFloatToInt32(0.25f * (float)result.getWidth()) + 1, deFloorFl… in verifyImage() 4799 …Border (deFloorFloatToInt32(0.25f * (float)result.getWidth()) - 1, deCeilFloatToInt32(0.5f * (floa… in verifyImage()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleTests.cpp | 702 …const deUint32 maskCount = deCeilFloatToInt32(float(m_multisampleStateParams.rasterizationSamples)… in MultisampleTest()
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.cpp | 2797 const int maxX = deCeilFloatToInt32(((float)x+1.5f) / dstW * srcW); in compareGenMipmapVeryLenient() 2798 const int maxY = deCeilFloatToInt32(((float)y+1.5f) / dstH * srcH); in compareGenMipmapVeryLenient()
|