Home
last modified time | relevance | path

Searched refs:deCeilFloatToInt32 (Results 1 – 25 of 30) sorted by relevance

12

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fReadPixelsTests.cpp208 …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()
Des2fVertexTextureTests.cpp343 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()
Des2fTextureUnitTests.cpp437 …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()
/third_party/vk-gl-cts/modules/glshared/
DglsInteractionTestUtil.cpp157 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()
DglsShaderRenderCase.cpp681 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()
DglsFragOpInteractionCase.cpp189 const int minW = deCeilFloatToInt32(minSize * (float)targetW); in getRandomQuad()
190 const int minH = deCeilFloatToInt32(minSize * (float)targetH); in getRandomQuad()
DglsVertexArrayTests.cpp1691 …, m_maxDiffRed (deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << m_renderCtx.getRenderTarget().ge… in VertexArrayTest()
1692 …, m_maxDiffGreen (deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << m_renderCtx.getRenderTarget().g… in VertexArrayTest()
1693 …, m_maxDiffBlue (deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << m_renderCtx.getRenderTarget().g… in VertexArrayTest()
DglsShaderLibraryCase.cpp1313 const int minY = deCeilFloatToInt32 (((-quadSize / w) * 0.5f + 0.5f) * (float)height + 1.0f); in execute()
1315 const int minX = deCeilFloatToInt32 (((-quadSize / w) * 0.5f + 0.5f) * (float)width + 1.0f); in execute()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fReadPixelsTests.cpp314 …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()
Des3fVertexTextureTests.cpp438 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()
Des3fTextureUnitTests.cpp593 …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()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderRenderCase.cpp753 int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference()
754 int ix1 = deCeilFloatToInt32(sx1 - 0.5f); in computeVertexReference()
755 int iy0 = deCeilFloatToInt32(sy0 - 0.5f); in computeVertexReference()
756 int iy1 = deCeilFloatToInt32(sy1 - 0.5f); in computeVertexReference()
DglcShaderLibraryCase.cpp477 int minY = deCeilFloatToInt32(((-quadSize / w) * 0.5f + 0.5f) * (float)height + 1.0f); in execute()
479 int minX = deCeilFloatToInt32(((-quadSize / w) * 0.5f + 0.5f) * (float)width + 1.0f); in execute()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp143 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); in generateScissors()
144 …const int numRows = deCeilFloatToInt32(static_cast<float>(numScissors) / static_cast<float>(numCo… in generateScissors()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawDepthClampTests.cpp300 const deUint32 columnCount = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(viewportCount))); in DepthClampTestInstance()
301 …const deUint32 rowCount = deCeilFloatToInt32(static_cast<float>(viewportCount) / static_cast<floa… in DepthClampTestInstance()
DvktDrawShaderLayerTests.cpp500 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()
501 …const int numRows = deCeilFloatToInt32(static_cast<float>(numCells) / static_cast<float>(numCols)… in generateGrid()
DvktDrawShaderViewportIndexTests.cpp368 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid()
369 …const int numRows = deCeilFloatToInt32(static_cast<float>(numCells) / static_cast<float>(numCols)… in generateGrid()
/third_party/vk-gl-cts/framework/common/
DtcuRasterizationVerifier.cpp2474 …I64Vec2(deCeilFloatToInt32(triangleScreenSpace[0].x() * (float)numSubPixels), deCeilFloatToInt32(t… in calculateTriangleCoverage()
2475 …I64Vec2(deCeilFloatToInt32(triangleScreenSpace[1].x() * (float)numSubPixels), deCeilFloatToInt32(t… in calculateTriangleCoverage()
2476 …I64Vec2(deCeilFloatToInt32(triangleScreenSpace[2].x() * (float)numSubPixels), deCeilFloatToInt32(t… in calculateTriangleCoverage()
2618 …I64Vec2(deCeilFloatToInt32(triangleScreenSpace[0].x() * (float)numSubPixels), deCeilFloatToInt32(t… in calculateUnderestimateTriangleCoverage()
2619 …I64Vec2(deCeilFloatToInt32(triangleScreenSpace[1].x() * (float)numSubPixels), deCeilFloatToInt32(t… in calculateUnderestimateTriangleCoverage()
2620 …I64Vec2(deCeilFloatToInt32(triangleScreenSpace[2].x() * (float)numSubPixels), deCeilFloatToInt32(t… in calculateUnderestimateTriangleCoverage()
/third_party/vk-gl-cts/framework/delibs/debase/
DdeMath.h291 DE_INLINE deInt32 deCeilFloatToInt32 (float x) { return (deInt32)(deFloatCeil(x)); } in deCeilFloatToInt32() function
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp2399 const int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference()
2400 const int ix1 = deCeilFloatToInt32(sx1 - 0.5f); in computeVertexReference()
2401 const int iy0 = deCeilFloatToInt32(sy0 - 0.5f); in computeVertexReference()
2402 const int iy1 = deCeilFloatToInt32(sy1 - 0.5f); in computeVertexReference()
DvktShaderRenderBuiltinVarTests.cpp1393 IVec2 sampleCeil(deCeilFloatToInt32((*sampleIt).x()), deCeilFloatToInt32((*sampleIt).y())); in validateSampleLocations()
2027 …const int pointSizeDeltaMultiples = de::max(1, deCeilFloatToInt32((maxPointSize - minPointSiz… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp82 levelBounds[0] = deCeilFloatToInt32(lodBounds[0] + 0.5f) - 1; in calcLevelBounds()
DvktSampleVerifier.cpp443 stepMax = deCeilFloatToInt32 (lodFracBounds[1] * (float)mipmapSteps); in getMipmapStepBounds()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryExternalMemoryHostTests.cpp806 …VkDeviceSize newHostAllocationSize = VkDeviceSize(deCeilFloatToInt32((float(requiredSize) / float(… in iterate()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp119 pixelBox.z() = deCeilFloatToInt32(vertexBox.z() + size/2.0f); in getViewportBoundingBoxArea()
120 pixelBox.w() = deCeilFloatToInt32(vertexBox.w() + size/2.0f); in getViewportBoundingBoxArea()
4979 …const tcu::IVec2 insideBorder (deCeilFloatToInt32(0.25f * (float)result.getWidth()) + 1, deFloorFl… in verifyImage()
4980 …Border (deFloorFloatToInt32(0.25f * (float)result.getWidth()) - 1, deCeilFloatToInt32(0.5f * (floa… in verifyImage()

12