Home
last modified time | relevance | path

Searched refs:deFloorFloatToInt32 (Results 1 – 19 of 19) sorted by relevance

/external/deqp/framework/common/
DtcuTexLookupVerifier.cpp501 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestSampleResultValid()
502 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestSampleResultValid()
528 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestSampleResultValid()
529 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestSampleResultValid()
530 const int minJ = deFloorFloatToInt32(vBounds.x()); in isNearestSampleResultValid()
531 const int maxJ = deFloorFloatToInt32(vBounds.y()); in isNearestSampleResultValid()
563 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestSampleResultValid()
564 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestSampleResultValid()
565 const int minJ = deFloorFloatToInt32(vBounds.x()); in isNearestSampleResultValid()
566 const int maxJ = deFloorFloatToInt32(vBounds.y()); in isNearestSampleResultValid()
[all …]
DtcuTexCompareVerifier.cpp551 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestCompareResultValid()
552 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestCompareResultValid()
553 const int minJ = deFloorFloatToInt32(vBounds.x()); in isNearestCompareResultValid()
554 const int maxJ = deFloorFloatToInt32(vBounds.y()); in isNearestCompareResultValid()
586 const int minI = deFloorFloatToInt32(uBounds.x()-0.5f); in isLinearCompareResultValid()
587 const int maxI = deFloorFloatToInt32(uBounds.y()-0.5f); in isLinearCompareResultValid()
588 const int minJ = deFloorFloatToInt32(vBounds.x()-0.5f); in isLinearCompareResultValid()
589 const int maxJ = deFloorFloatToInt32(vBounds.y()-0.5f); in isLinearCompareResultValid()
663 const int minI0 = deFloorFloatToInt32(uBounds0.x()); in isNearestMipmapLinearCompareResultValid()
664 const int maxI0 = deFloorFloatToInt32(uBounds0.y()); in isNearestMipmapLinearCompareResultValid()
[all …]
DtcuTexture.cpp1292 int x = deFloorFloatToInt32(u)+offset.x(); in sampleNearest1D()
1308 int x = deFloorFloatToInt32(u)+offset.x(); in sampleNearest2D()
1309 int y = deFloorFloatToInt32(v)+offset.y(); in sampleNearest2D()
1328 int x = deFloorFloatToInt32(u)+offset.x(); in sampleNearest3D()
1329 int y = deFloorFloatToInt32(v)+offset.y(); in sampleNearest3D()
1330 int z = deFloorFloatToInt32(w)+offset.z(); in sampleNearest3D()
1349 int x0 = deFloorFloatToInt32(u-0.5f)+offset.x(); in sampleLinear1D()
1373 int x0 = deFloorFloatToInt32(u-0.5f)+offset.x(); in sampleLinear2D()
1375 int y0 = deFloorFloatToInt32(v-0.5f)+offset.y(); in sampleLinear2D()
1408 int x0 = deFloorFloatToInt32(u-0.5f)+offset.x(); in sampleLinear1DCompare()
[all …]
DtcuFuzzyImageCompare.cpp127 int x0 = deFloorFloatToInt32(u-0.5f); in bilinearSample()
129 int y0 = deFloorFloatToInt32(v-0.5f); in bilinearSample()
DtcuTextureUtil.cpp1014 int expp = de::max(-eBias - 1, deFloorFloatToInt32(deFloatLog2(maxc))) + 1 + eBias; in packRGB999E5()
1016 int maxs = deFloorFloatToInt32(maxc / e + 0.5f); in packRGB999E5()
1019 deUint32 rs = (deUint32)deClamp32(deFloorFloatToInt32(rc / e + 0.5f), 0, (1<<9)-1); in packRGB999E5()
1020 deUint32 gs = (deUint32)deClamp32(deFloorFloatToInt32(gc / e + 0.5f), 0, (1<<9)-1); in packRGB999E5()
1021 deUint32 bs = (deUint32)deClamp32(deFloorFloatToInt32(bc / e + 0.5f), 0, (1<<9)-1); in packRGB999E5()
DtcuImageCompare.cpp340 …int score = deClamp32(deFloorFloatToInt32(100.0f - (de::max(sum-(float)bestScoreDiff, 0.0f) /… in measurePixelDiffAccuracy()
/external/deqp/framework/delibs/deimage/
DdeImage.c130 int xFixed = deFloorFloatToInt32(xFloat * 256.0f); in deImage_scale()
131 int yFixed = deFloorFloatToInt32(yFloat * 256.0f); in deImage_scale()
/external/deqp/modules/gles3/functional/
Des3fFlushFinishTests.cpp327 curIterCount = de::clamp(deFloorFloatToInt32(est), 1, int(MAX_SHADER_ITER_COUNT)); in calibrate()
381 curDrawCount = de::clamp(deFloorFloatToInt32(est), 1, int(MAX_DRAW_CALL_COUNT)); in calibrate()
Des3fFragmentOutputTests.cpp407 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()
Des3fClippingTests.cpp359 …= tcu::Vector<deInt64, 3>(deFloorFloatToInt32(p.x() * fixedScale), deFloorFloatToInt32(p.y() * fix… in twoPointClippedTriangleInvisible()
/external/deqp/framework/delibs/debase/
DdeMath.h212 DE_INLINE deInt32 deFloorFloatToInt32 (float x) { return (deInt32)(deFloatFloor(x)); } in deFloorFloatToInt32() function
/external/deqp/modules/glshared/
DglsRasterizationTestUtil.cpp1056 int lineWidth = deFloorFloatToInt32(scene.lineWidth + 0.5f); in verifySinglesampleLineGroupRasterization()
2141 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[0].x()*numSubPixels), deFloorFloatToInt32(triangle… in calculateTriangleCoverage()
2142 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[1].x()*numSubPixels), deFloorFloatToInt32(triangle… in calculateTriangleCoverage()
2143 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[2].x()*numSubPixels), deFloorFloatToInt32(triangle… in calculateTriangleCoverage()
DglsShaderLibraryCase.cpp1021 const int maxY = deFloorFloatToInt32(((+quadSize / w) * 0.5f + 0.5f) * height - 0.5f); in execute()
1023 const int maxX = deFloorFloatToInt32(((+quadSize / w) * 0.5f + 0.5f) * width - 0.5f); in execute()
DglsTextureTestUtil.cpp3250 const int minX = deFloorFloatToInt32(float(x-0.5f) / dstW * srcW); in compareGenMipmapVeryLenient()
3251 const int minY = deFloorFloatToInt32(float(y-0.5f) / dstH * srcH); in compareGenMipmapVeryLenient()
/external/deqp/modules/gles2/functional/
Des2fFlushFinishTests.cpp300 curDrawCount = de::clamp(deFloorFloatToInt32(est), 1, int(MAX_DRAW_CALL_COUNT)); in calibrate()
Des2fClippingTests.cpp356 …= tcu::Vector<deInt64, 3>(deFloorFloatToInt32(p.x() * fixedScale), deFloorFloatToInt32(p.y() * fix… in twoPointClippedTriangleInvisible()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp3231 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/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp116 pixelBox.x() = deFloorFloatToInt32(vertexBox.x() - size/2.0f); in getViewportBoundingBoxArea()
117 pixelBox.y() = deFloorFloatToInt32(vertexBox.y() - size/2.0f); in getViewportBoundingBoxArea()
4623 …2 insideBorder (deCeilFloatToInt32(0.25f * result.getWidth()) + 1, deFloorFloatToInt32(0.5f * resu… in verifyImage()
4624 …const tcu::IVec2 outsideBorder (deFloorFloatToInt32(0.25f * result.getWidth()) - 1, deCeilFloatToI… in verifyImage()
/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp929 …const deInt32 lineWidth = (m_lineWidth > 1.0f) ? deFloorFloatToInt32(m_lineWidth + 0.5f) … in rasterize()