/third_party/vk-gl-cts/framework/common/ |
D | tcuTexLookupVerifier.cpp | 576 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestSampleResultValid() 577 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestSampleResultValid() 603 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestSampleResultValid() 604 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestSampleResultValid() 605 const int minJ = deFloorFloatToInt32(vBounds.x()); in isNearestSampleResultValid() 606 const int maxJ = deFloorFloatToInt32(vBounds.y()); in isNearestSampleResultValid() 638 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestSampleResultValid() 639 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestSampleResultValid() 640 const int minJ = deFloorFloatToInt32(vBounds.x()); in isNearestSampleResultValid() 641 const int maxJ = deFloorFloatToInt32(vBounds.y()); in isNearestSampleResultValid() [all …]
|
D | tcuTexCompareVerifier.cpp | 559 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestCompareResultValid() 560 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestCompareResultValid() 561 const int minJ = deFloorFloatToInt32(vBounds.x()); in isNearestCompareResultValid() 562 const int maxJ = deFloorFloatToInt32(vBounds.y()); in isNearestCompareResultValid() 594 const int minI = deFloorFloatToInt32(uBounds.x()-0.5f); in isLinearCompareResultValid() 595 const int maxI = deFloorFloatToInt32(uBounds.y()-0.5f); in isLinearCompareResultValid() 596 const int minJ = deFloorFloatToInt32(vBounds.x()-0.5f); in isLinearCompareResultValid() 597 const int maxJ = deFloorFloatToInt32(vBounds.y()-0.5f); in isLinearCompareResultValid() 671 const int minI0 = deFloorFloatToInt32(uBounds0.x()); in isNearestMipmapLinearCompareResultValid() 672 const int maxI0 = deFloorFloatToInt32(uBounds0.y()); in isNearestMipmapLinearCompareResultValid() [all …]
|
D | tcuTexture.cpp | 1904 int x = deFloorFloatToInt32(u)+offset.x(); in sampleNearest1D() 1920 int x = deFloorFloatToInt32(u)+offset.x(); in sampleNearest2D() 1921 int y = deFloorFloatToInt32(v)+offset.y(); in sampleNearest2D() 1940 int x = deFloorFloatToInt32(u)+offset.x(); in sampleNearest3D() 1941 int y = deFloorFloatToInt32(v)+offset.y(); in sampleNearest3D() 1942 int z = deFloorFloatToInt32(w)+offset.z(); in sampleNearest3D() 1961 int x0 = deFloorFloatToInt32(u-0.5f)+offset.x(); in sampleLinear1D() 1986 x[0] = deFloorFloatToInt32(u - 1.5f) + offset.x(); in sampleCubic1D() 2023 int x0 = deFloorFloatToInt32(u-0.5f)+offset.x(); in sampleLinear2D() 2025 int y0 = deFloorFloatToInt32(v-0.5f)+offset.y(); in sampleLinear2D() [all …]
|
D | tcuFuzzyImageCompare.cpp | 129 int x0 = deFloorFloatToInt32(u-0.5f); in bilinearSample() 131 int y0 = deFloorFloatToInt32(v-0.5f); in bilinearSample()
|
D | tcuRasterizationVerifier.cpp | 1368 int lineWidth = deFloorFloatToInt32(scene.lineWidth + 0.5f); in verifySinglesampleLineGroupRasterization() 2468 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[0].x() * (float)numSubPixels), deFloorFloatToInt32… in calculateTriangleCoverage() 2469 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[1].x() * (float)numSubPixels), deFloorFloatToInt32… in calculateTriangleCoverage() 2470 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[2].x() * (float)numSubPixels), deFloorFloatToInt32… in calculateTriangleCoverage() 2612 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[0].x() * (float)numSubPixels), deFloorFloatToInt32… in calculateUnderestimateTriangleCoverage() 2613 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[1].x() * (float)numSubPixels), deFloorFloatToInt32… in calculateUnderestimateTriangleCoverage() 2614 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[2].x() * (float)numSubPixels), deFloorFloatToInt32… in calculateUnderestimateTriangleCoverage()
|
D | tcuTextureUtil.cpp | 860 int xedge = deFloorFloatToInt32(float(access.getWidth()) * 0.6f); in fillWithComponentGradients2D() 861 int yedge = deFloorFloatToInt32(float(access.getHeight()) * 0.6f); in fillWithComponentGradients2D() 1347 deInt32 floorc = deIsInf(log2c) ? std::numeric_limits<deInt32>::min() : deFloorFloatToInt32(log2c); in packRGB999E5() 1350 int maxs = deFloorFloatToInt32(maxc / e + 0.5f); in packRGB999E5() 1358 deUint32 rs = (deUint32)deFloorFloatToInt32(rc / e + 0.5f); in packRGB999E5() 1359 deUint32 gs = (deUint32)deFloorFloatToInt32(gc / e + 0.5f); in packRGB999E5() 1360 deUint32 bs = (deUint32)deFloorFloatToInt32(bc / e + 0.5f); in packRGB999E5()
|
D | tcuImageCompare.cpp | 341 …int score = deClamp32(deFloorFloatToInt32(100.0f - (de::max(sum-(float)bestScoreDiff, 0.0f) /… in measurePixelDiffAccuracy()
|
/third_party/vk-gl-cts/framework/delibs/deimage/ |
D | deImage.c | 130 int xFixed = deFloorFloatToInt32(xFloat * 256.0f); in deImage_scale() 131 int yFixed = deFloorFloatToInt32(yFloat * 256.0f); in deImage_scale()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFlushFinishTests.cpp | 333 curIterCount = de::clamp(deFloorFloatToInt32(est), 1, int(MAX_SHADER_ITER_COUNT)); in calibrate() 394 curDrawCount = de::clamp(deFloorFloatToInt32(est), 1, int(MAX_DRAW_CALL_COUNT)); in calibrate()
|
D | es3fFragmentOutputTests.cpp | 407 const int cellX = de::clamp(deFloorFloatToInt32((float)x / cellW), 0, gridWidth-2); in renderFloatReference() 408 const int cellY = de::clamp(deFloorFloatToInt32((float)y / cellH), 0, gridHeight-2); in renderFloatReference() 437 int cellX = de::clamp(deFloorFloatToInt32((float)x / cellW), 0, gridWidth-2); in renderIntReference() 438 int cellY = de::clamp(deFloorFloatToInt32((float)y / cellH), 0, gridHeight-2); in renderIntReference()
|
D | es3fIntegerStateQueryTests.cpp | 1178 …de::clamp(x, deFloorFloatToInt32(viewportBoundsRange[0]), deFloorFloatToInt32(viewportBoundsRange[… in test() 1179 …de::clamp(y, deFloorFloatToInt32(viewportBoundsRange[0]), deFloorFloatToInt32(viewportBoundsRange[… in test()
|
D | es3fClippingTests.cpp | 359 …= tcu::Vector<deInt64, 3>(deFloorFloatToInt32(p.x() * fixedScale), deFloorFloatToInt32(p.y() * fix… in twoPointClippedTriangleInvisible()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.cpp | 95 levelBounds[1] = deFloorFloatToInt32(lodBounds[1] + 0.5f); in calcLevelBounds() 112 levelBounds[ndx] = lodBounds[ndx] < 0.0f ? 0 : deFloorFloatToInt32(lodBounds[ndx]); in calcLevelBounds()
|
D | vktSampleVerifier.cpp | 442 stepMin = deFloorFloatToInt32(lodFracBounds[0] * (float)mipmapSteps); in getMipmapStepBounds()
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
D | deMath.h | 290 DE_INLINE deInt32 deFloorFloatToInt32 (float x) { return (deInt32)(deFloatFloor(x)); } in deFloorFloatToInt32() function
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcShaderLibraryCase.cpp | 478 int maxY = deFloorFloatToInt32(((+quadSize / w) * 0.5f + 0.5f) * (float)height - 0.5f); in execute() 480 int maxX = deFloorFloatToInt32(((+quadSize / w) * 0.5f + 0.5f) * (float)width - 0.5f); in execute()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fFlushFinishTests.cpp | 300 curDrawCount = de::clamp(deFloorFloatToInt32(est), 1, int(MAX_DRAW_CALL_COUNT)); in calibrate()
|
D | es2fIntegerStateQueryTests.cpp | 899 …de::clamp(x, deFloorFloatToInt32(viewportBoundsRange[0]), deFloorFloatToInt32(viewportBoundsRange[… in test() 900 …de::clamp(y, deFloorFloatToInt32(viewportBoundsRange[0]), deFloorFloatToInt32(viewportBoundsRange[… in test()
|
D | es2fClippingTests.cpp | 356 …= tcu::Vector<deInt64, 3>(deFloorFloatToInt32(p.x() * fixedScale), deFloorFloatToInt32(p.y() * fix… in twoPointClippedTriangleInvisible()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderLibraryCase.cpp | 1314 const int maxY = deFloorFloatToInt32(((+quadSize / w) * 0.5f + 0.5f) * (float)height - 0.5f); in execute() 1316 const int maxX = deFloorFloatToInt32(((+quadSize / w) * 0.5f + 0.5f) * (float)width - 0.5f); in execute()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassFragmentDensityMapTests.cpp | 1406 …m_renderSize = tcu::UVec2(deFloorFloatToInt32(m_testParams.renderMultiplier * static_cast<float>(… in FragmentDensityMapTestInstance() 1407 …deFloorFloatToInt32(m_testParams.renderMultiplier * static_cast<float>(m_testParams.densityMapSize… in FragmentDensityMapTestInstance()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 3268 dst.setPixel(src.getPixelInt(deFloorFloatToInt32(sX), deFloorFloatToInt32(sY)), xo, yo); in blitFramebuffer() 3289 …, sampleNdx, xo, yo, src.raw().getPixDepth(sampleNdx, deFloorFloatToInt32(sX), deFloorFloatToInt32… in blitFramebuffer() 3309 …Uint32 srcStencil = src.raw().getPixelUint(sampleNdx, deFloorFloatToInt32(sX), deFloorFloatToInt32… in blitFramebuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderBuiltinVarTests.cpp | 1392 IVec2 sampleFloor(deFloorFloatToInt32((*sampleIt).x()), deFloorFloatToInt32((*sampleIt).y())); in validateSampleLocations()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fPrimitiveBoundingBoxTests.cpp | 117 pixelBox.x() = deFloorFloatToInt32(vertexBox.x() - size/2.0f); in getViewportBoundingBoxArea() 118 pixelBox.y() = deFloorFloatToInt32(vertexBox.y() - size/2.0f); in getViewportBoundingBoxArea() 4979 …eBorder (deCeilFloatToInt32(0.25f * (float)result.getWidth()) + 1, deFloorFloatToInt32(0.5f * (flo… in verifyImage() 4980 …const tcu::IVec2 outsideBorder (deFloorFloatToInt32(0.25f * (float)result.getWidth()) - 1, deCeilF… in verifyImage()
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrRasterizer.cpp | 937 …const deInt32 lineWidth = (m_lineWidth > 1.0f) ? deFloorFloatToInt32(m_lineWidth + 0.5f) … in rasterize()
|