/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.cpp | 531 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestSampleResultValid() 532 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestSampleResultValid() 558 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestSampleResultValid() 559 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestSampleResultValid() 560 const int minJ = deFloorFloatToInt32(vBounds.x()); in isNearestSampleResultValid() 561 const int maxJ = deFloorFloatToInt32(vBounds.y()); in isNearestSampleResultValid() 593 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestSampleResultValid() 594 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestSampleResultValid() 595 const int minJ = deFloorFloatToInt32(vBounds.x()); in isNearestSampleResultValid() 596 const int maxJ = deFloorFloatToInt32(vBounds.y()); in isNearestSampleResultValid() [all …]
|
D | tcuTexCompareVerifier.cpp | 553 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestCompareResultValid() 554 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestCompareResultValid() 555 const int minJ = deFloorFloatToInt32(vBounds.x()); in isNearestCompareResultValid() 556 const int maxJ = deFloorFloatToInt32(vBounds.y()); in isNearestCompareResultValid() 588 const int minI = deFloorFloatToInt32(uBounds.x()-0.5f); in isLinearCompareResultValid() 589 const int maxI = deFloorFloatToInt32(uBounds.y()-0.5f); in isLinearCompareResultValid() 590 const int minJ = deFloorFloatToInt32(vBounds.x()-0.5f); in isLinearCompareResultValid() 591 const int maxJ = deFloorFloatToInt32(vBounds.y()-0.5f); in isLinearCompareResultValid() 665 const int minI0 = deFloorFloatToInt32(uBounds0.x()); in isNearestMipmapLinearCompareResultValid() 666 const int maxI0 = deFloorFloatToInt32(uBounds0.y()); in isNearestMipmapLinearCompareResultValid() [all …]
|
D | tcuTexture.cpp | 1744 int x = deFloorFloatToInt32(u)+offset.x(); in sampleNearest1D() 1760 int x = deFloorFloatToInt32(u)+offset.x(); in sampleNearest2D() 1761 int y = deFloorFloatToInt32(v)+offset.y(); in sampleNearest2D() 1780 int x = deFloorFloatToInt32(u)+offset.x(); in sampleNearest3D() 1781 int y = deFloorFloatToInt32(v)+offset.y(); in sampleNearest3D() 1782 int z = deFloorFloatToInt32(w)+offset.z(); in sampleNearest3D() 1801 int x0 = deFloorFloatToInt32(u-0.5f)+offset.x(); in sampleLinear1D() 1825 int x0 = deFloorFloatToInt32(u-0.5f)+offset.x(); in sampleLinear2D() 1827 int y0 = deFloorFloatToInt32(v-0.5f)+offset.y(); in sampleLinear2D() 1860 int x0 = deFloorFloatToInt32(u-0.5f)+offset.x(); in sampleLinear1DCompare() [all …]
|
D | tcuFuzzyImageCompare.cpp | 129 int x0 = deFloorFloatToInt32(u-0.5f); in bilinearSample() 131 int y0 = deFloorFloatToInt32(v-0.5f); in bilinearSample()
|
D | tcuTextureUtil.cpp | 1234 int expp = de::max(-eBias - 1, deFloorFloatToInt32(deFloatLog2(maxc))) + 1 + eBias; in packRGB999E5() 1236 int maxs = deFloorFloatToInt32(maxc / e + 0.5f); in packRGB999E5() 1239 deUint32 rs = (deUint32)deClamp32(deFloorFloatToInt32(rc / e + 0.5f), 0, (1<<9)-1); in packRGB999E5() 1240 deUint32 gs = (deUint32)deClamp32(deFloorFloatToInt32(gc / e + 0.5f), 0, (1<<9)-1); in packRGB999E5() 1241 deUint32 bs = (deUint32)deClamp32(deFloorFloatToInt32(bc / e + 0.5f), 0, (1<<9)-1); in packRGB999E5()
|
D | tcuRasterizationVerifier.cpp | 1102 int lineWidth = deFloorFloatToInt32(scene.lineWidth + 0.5f); in verifySinglesampleLineGroupRasterization() 2195 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[0].x() * (float)numSubPixels), deFloorFloatToInt32… in calculateTriangleCoverage() 2196 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[1].x() * (float)numSubPixels), deFloorFloatToInt32… in calculateTriangleCoverage() 2197 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[2].x() * (float)numSubPixels), deFloorFloatToInt32… in calculateTriangleCoverage()
|
D | tcuImageCompare.cpp | 341 …int score = deClamp32(deFloorFloatToInt32(100.0f - (de::max(sum-(float)bestScoreDiff, 0.0f) /… in measurePixelDiffAccuracy()
|
/external/deqp/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()
|
/external/deqp/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()
|
/external/deqp/framework/platform/android/ |
D | tcuAndroidUtil.cpp | 510 const int widthDp = deFloorFloatToInt32(float(widthP) / dpScale); in getScreenClass() 511 const int heightDp = deFloorFloatToInt32(float(heightP) / dpScale); in getScreenClass()
|
/external/deqp/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 | 469 stepMin = deFloorFloatToInt32(lodFracBounds[0] * (float)mipmapSteps); in getMipmapStepBounds()
|
/external/deqp/framework/delibs/debase/ |
D | deMath.h | 212 DE_INLINE deInt32 deFloorFloatToInt32 (float x) { return (deInt32)(deFloatFloor(x)); } in deFloorFloatToInt32() function
|
/external/deqp/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()
|
/external/deqp/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()
|
/external/deqp/modules/glshared/ |
D | glsShaderLibraryCase.cpp | 1297 const int maxY = deFloorFloatToInt32(((+quadSize / w) * 0.5f + 0.5f) * (float)height - 0.5f); in execute() 1299 const int maxX = deFloorFloatToInt32(((+quadSize / w) * 0.5f + 0.5f) * (float)width - 0.5f); in execute()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 3231 dst.setPixel(src.getPixelInt(deFloorFloatToInt32(sX), deFloorFloatToInt32(sY)), xo, yo); in blitFramebuffer() 3252 …, sampleNdx, xo, yo, src.raw().getPixDepth(sampleNdx, deFloorFloatToInt32(sX), deFloorFloatToInt32… in blitFramebuffer() 3272 …Uint32 srcStencil = src.raw().getPixelUint(sampleNdx, deFloorFloatToInt32(sX), deFloorFloatToInt32… in blitFramebuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderBuiltinVarTests.cpp | 1698 IVec2 sampleFloor(deFloorFloatToInt32((*sampleIt).x()), deFloorFloatToInt32((*sampleIt).y())); in validateSampleLocations()
|
/external/deqp/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() 4841 …eBorder (deCeilFloatToInt32(0.25f * (float)result.getWidth()) + 1, deFloorFloatToInt32(0.5f * (flo… in verifyImage() 4842 …const tcu::IVec2 outsideBorder (deFloorFloatToInt32(0.25f * (float)result.getWidth()) - 1, deCeilF… in verifyImage()
|
/external/deqp/framework/referencerenderer/ |
D | rrRasterizer.cpp | 934 …const deInt32 lineWidth = (m_lineWidth > 1.0f) ? deFloorFloatToInt32(m_lineWidth + 0.5f) … in rasterize()
|