/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fReadPixelsTests.cpp | 208 const int rowPitch = m_alignment * deCeilFloatToInt32(float(pixelSize * width) / (float)m_alignment); in iterate() 218 const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())))); in iterate() 219 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); in iterate() 220 const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())))); in iterate() 221 const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())))); in iterate()
|
H A 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()
|
H A D | es2fTextureUnitTests.cpp | 437 const deInt32 maxLevel = (lodMax + epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMax + epsilon + 0.5f) - 1); in makeSafeLods() 438 const deInt32 minLevel = (lodMin - epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMin - epsilon + 0.5f) - 1); in makeSafeLods()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A 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); 231 int minH = deCeilFloatToInt32(minSize * (float)targetHeight);
|
H A 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()
|
H A D | glsFragOpInteractionCase.cpp | 189 const int minW = deCeilFloatToInt32(minSize * (float)targetW); in getRandomQuad() 190 const int minH = deCeilFloatToInt32(minSize * (float)targetH); in getRandomQuad()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fReadPixelsTests.cpp | 314 const int rowPitch = m_alignment * deCeilFloatToInt32(float(pixelSize * rowWidth) / (float)m_alignment); in clearColor() 356 const int rowPitch = m_alignment * deCeilFloatToInt32((float)(pixelSize * rowWidth) / (float)m_alignment); in iterate() 363 const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())))); in iterate() 364 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); in iterate() 365 const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())))); in iterate() 366 const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())))); in iterate()
|
H A 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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsScissorMultiViewportTests.cpp | 142 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); in generateScissors() 143 const int numRows = deCeilFloatToInt32(static_cast<float>(numScissors) / static_cast<float>(numCols)); in generateScissors()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsScissorMultiViewportTests.cpp | 142 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); in generateScissors() 143 const int numRows = deCeilFloatToInt32(static_cast<float>(numScissors) / static_cast<float>(numCols)); in generateScissors()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderRenderCase.cpp | 753 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()
|
H A D | glcShaderLibraryCase.cpp | 477 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/framework/common/ |
H A D | tcuRasterizationVerifier.cpp | 2479 I64Vec2(deCeilFloatToInt32(triangleScreenSpace[0].x() * (float)numSubPixels), deCeilFloatToInt32(triangleScreenSpace[0].y() * (float)numSubPixels)), 2480 I64Vec2(deCeilFloatToInt32(triangleScreenSpace[1].x() * (float)numSubPixels), deCeilFloatToInt32(triangleScreenSpace[1].y() * (float)numSubPixels)), 2481 I64Vec2(deCeilFloatToInt32(triangleScreenSpace[2].x() * (float)numSubPixels), deCeilFloatToInt32(triangleScreenSpace[2].y() * (float)numSubPixels)), 2623 I64Vec2(deCeilFloatToInt32(triangleScreenSpace[0].x() * (float)numSubPixels), deCeilFloatToInt32(triangleScreenSpace[0].y() * (float)numSubPixels)), 2624 I64Vec2(deCeilFloatToInt32(triangleScreenSpace[1].x() * (float)numSubPixels), deCeilFloatToInt32(triangleScreenSpac [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawDepthClampTests.cpp | 308 const deUint32 columnCount = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(viewportCount))); in DepthClampTestInstance() 309 const deUint32 rowCount = deCeilFloatToInt32(static_cast<float>(viewportCount) / static_cast<float>(columnCount)); in DepthClampTestInstance()
|
H A D | vktDrawShaderLayerTests.cpp | 506 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid() 507 const int numRows = deCeilFloatToInt32(static_cast<float>(numCells) / static_cast<float>(numCols)); in generateGrid()
|
H A D | vktDrawShaderViewportIndexTests.cpp | 370 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid() 371 const int numRows = deCeilFloatToInt32(static_cast<float>(numCells) / static_cast<float>(numCols)); in generateGrid()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawDepthClampTests.cpp | 308 const deUint32 columnCount = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(viewportCount))); in DepthClampTestInstance() 309 const deUint32 rowCount = deCeilFloatToInt32(static_cast<float>(viewportCount) / static_cast<float>(columnCount)); in DepthClampTestInstance()
|
H A D | vktDrawShaderLayerTests.cpp | 502 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid() 503 const int numRows = deCeilFloatToInt32(static_cast<float>(numCells) / static_cast<float>(numCols)); in generateGrid()
|
H A D | vktDrawShaderViewportIndexTests.cpp | 370 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid() 371 const int numRows = deCeilFloatToInt32(static_cast<float>(numCells) / static_cast<float>(numCols)); in generateGrid()
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
H A D | deMath.h | 282 DE_INLINE deInt32 deCeilFloatToInt32 (float x) { return (deInt32)(deFloatCeil(x)); } in deCeilFloatToInt32() function
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 2433 const int ix0 = deCeilFloatToInt32(sx0 - 0.5f); 2434 const int ix1 = deCeilFloatToInt32(sx1 - 0.5f); 2435 const int iy0 = deCeilFloatToInt32(sy0 - 0.5f); 2436 const int iy1 = deCeilFloatToInt32(sy1 - 0.5f);
|
H A D | vktShaderRenderBuiltinVarTests.cpp | 1403 IVec2 sampleCeil(deCeilFloatToInt32((*sampleIt).x()), deCeilFloatToInt32((*sampleIt).y())); in validateSampleLocations() 2037 const int pointSizeDeltaMultiples = de::max(1, deCeilFloatToInt32((maxPointSize - minPointSize) / limits.pointSizeGranularity)); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 2435 const int ix0 = deCeilFloatToInt32(sx0 - 0.5f); 2436 const int ix1 = deCeilFloatToInt32(sx1 - 0.5f); 2437 const int iy0 = deCeilFloatToInt32(sy0 - 0.5f); 2438 const int iy1 = deCeilFloatToInt32(sy1 - 0.5f);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktSampleVerifierUtil.cpp | 82 levelBounds[0] = deCeilFloatToInt32(lodBounds[0] + 0.5f) - 1; in calcLevelBounds()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktSampleVerifierUtil.cpp | 82 levelBounds[0] = deCeilFloatToInt32(lodBounds[0] + 0.5f) - 1; in calcLevelBounds()
|