Lines Matching refs:dstH
482 float dstH = (float)dst.getHeight(); in sampleTextureProjected() local
497 float ny = wy / dstH; in sampleTextureProjected()
501 float triWy = triNdx ? dstH - wy : wy; in sampleTextureProjected()
523 float dstH = (float)dst.getHeight(); in sampleTextureProjected() local
541 float ny = wy / dstH; in sampleTextureProjected()
545 float triWy = triNdx ? dstH - wy : wy; in sampleTextureProjected()
661 const float dstH = float(dstSize.y()); in sampleTextureCube() local
679 const float ny = wy / dstH; in sampleTextureCube()
691 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), in sampleTextureCube()
692 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx), in sampleTextureCube()
693 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx)); in sampleTextureCube()
867 float dstH = (float)dst.getHeight(); in sampleTextureProjected() local
888 float ny = wy / dstH; in sampleTextureProjected()
892 float triWy = triNdx ? dstH - wy : wy; in sampleTextureProjected()
937 const float dstH = (float)dst.getHeight(); in sampleTextureCubeArray() local
955 const float ny = wy / dstH; in sampleTextureCubeArray()
970 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), in sampleTextureCubeArray()
971 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx), in sampleTextureCubeArray()
972 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx)); in sampleTextureCubeArray()
1311 const float dstH = float(dstSize.y()); in computeTextureLookupDiff() local
1349 const float ny = wy / dstH; in computeTextureLookupDiff()
1353 const float triWy = triNdx ? dstH - wy : wy; in computeTextureLookupDiff()
1359 …const float coordDy = triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx) * float(srcSize); in computeTextureLookupDiff()
1369 const float nyo = wyo/dstH; in computeTextureLookupDiff()
1372 … const float coordDyo = triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo) * float(srcSize); in computeTextureLookupDiff()
1427 const float dstH = float(dstSize.y()); in computeTextureLookupDiff() local
1475 const float ny = wy / dstH; in computeTextureLookupDiff()
1477 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f; in computeTextureLookupDiff()
1478 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f; in computeTextureLookupDiff()
1488 const float triWy = triNdx ? dstH - wy : wy; in computeTextureLookupDiff()
1496 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureLookupDiff()
1497 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat(); in computeTextureLookupDiff()
1507 const float nyo = wyo/dstH; in computeTextureLookupDiff()
1511 const tcu::Vec2 coordDyo = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureLookupDiff()
1512 triDerivateY(triT[triNdx], triW[triNdx], wyo, dstH, nxo)) * srcSize.asFloat(); in computeTextureLookupDiff()
1644 const float dstH = float(dstSize.y()); in computeTextureLookupDiff() local
1699 const float ny = wy / dstH; in computeTextureLookupDiff()
1701 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f; in computeTextureLookupDiff()
1702 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f; in computeTextureLookupDiff()
1712 const float triWy = triNdx ? dstH - wy : wy; in computeTextureLookupDiff()
1722 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureLookupDiff()
1723 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureLookupDiff()
1724 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx)); in computeTextureLookupDiff()
1734 const float nyo = wyo/dstH; in computeTextureLookupDiff()
1742 const tcu::Vec3 coordDyo (triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureLookupDiff()
1743 triDerivateY(triT[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureLookupDiff()
1744 triDerivateY(triR[triNdx], triW[triNdx], wyo, dstH, nxo)); in computeTextureLookupDiff()
1841 const float dstH = float(dstSize.y()); in computeTextureLookupDiff() local
1890 const float ny = wy / dstH; in computeTextureLookupDiff()
1892 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f; in computeTextureLookupDiff()
1893 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f; in computeTextureLookupDiff()
1903 const float triWy = triNdx ? dstH - wy : wy; in computeTextureLookupDiff()
1913 const tcu::Vec3 coordDy = tcu::Vec3(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureLookupDiff()
1914 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureLookupDiff()
1915 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat(); in computeTextureLookupDiff()
1925 const float nyo = wyo/dstH; in computeTextureLookupDiff()
1930 const tcu::Vec3 coordDyo = tcu::Vec3(triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureLookupDiff()
1931 triDerivateY(triT[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureLookupDiff()
1932 triDerivateY(triR[triNdx], triW[triNdx], wyo, dstH, nxo)) * srcSize.asFloat(); in computeTextureLookupDiff()
2018 const float dstH = float(dstSize.y()); in computeTextureLookupDiff() local
2057 const float ny = wy / dstH; in computeTextureLookupDiff()
2061 const float triWy = triNdx ? dstH - wy : wy; in computeTextureLookupDiff()
2068 const float coordDy = triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx) * srcSize; in computeTextureLookupDiff()
2078 const float nyo = wyo/dstH; in computeTextureLookupDiff()
2081 const float coordDyo = triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo) * srcSize; in computeTextureLookupDiff()
2126 const float dstH = float(dstSize.y()); in computeTextureLookupDiff() local
2166 const float ny = wy / dstH; in computeTextureLookupDiff()
2170 const float triWy = triNdx ? dstH - wy : wy; in computeTextureLookupDiff()
2179 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureLookupDiff()
2180 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize; in computeTextureLookupDiff()
2190 const float nyo = wyo/dstH; in computeTextureLookupDiff()
2194 const tcu::Vec2 coordDyo = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureLookupDiff()
2195 triDerivateY(triT[triNdx], triW[triNdx], wyo, dstH, nxo)) * srcSize; in computeTextureLookupDiff()
2324 const float dstH = float(dstSize.y()); in computeTextureLookupDiff() local
2373 const float ny = wy / dstH; in computeTextureLookupDiff()
2386 const float triWy = triNdx ? dstH - wy : wy; in computeTextureLookupDiff()
2397 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureLookupDiff()
2398 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureLookupDiff()
2399 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx)); in computeTextureLookupDiff()
2409 const float nyo = wyo/dstH; in computeTextureLookupDiff()
2417 const tcu::Vec3 coordDyo (triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureLookupDiff()
2418 triDerivateY(triT[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureLookupDiff()
2419 triDerivateY(triR[triNdx], triW[triNdx], wyo, dstH, nxo)); in computeTextureLookupDiff()
2504 const float dstH = float(dstSize.y()); in computeTextureCompareDiff() local
2550 const float ny = wy / dstH; in computeTextureCompareDiff()
2554 const float triWy = triNdx ? dstH - wy : wy; in computeTextureCompareDiff()
2562 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureCompareDiff()
2563 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat(); in computeTextureCompareDiff()
2573 const float nyo = wyo/dstH; in computeTextureCompareDiff()
2577 const tcu::Vec2 coordDyo = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureCompareDiff()
2578 triDerivateY(triT[triNdx], triW[triNdx], wyo, dstH, nxo)) * srcSize.asFloat(); in computeTextureCompareDiff()
2619 const float dstH = float(dstSize.y()); in computeTextureCompareDiff() local
2666 const float ny = wy / dstH; in computeTextureCompareDiff()
2670 const float triWy = triNdx ? dstH - wy : wy; in computeTextureCompareDiff()
2680 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureCompareDiff()
2681 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureCompareDiff()
2682 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx)); in computeTextureCompareDiff()
2692 const float nyo = wyo/dstH; in computeTextureCompareDiff()
2700 const tcu::Vec3 coordDyo (triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureCompareDiff()
2701 triDerivateY(triT[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureCompareDiff()
2702 triDerivateY(triR[triNdx], triW[triNdx], wyo, dstH, nxo)); in computeTextureCompareDiff()
2743 const float dstH = float(dstSize.y()); in computeTextureCompareDiff() local
2788 const float ny = wy / dstH; in computeTextureCompareDiff()
2792 const float triWy = triNdx ? dstH - wy : wy; in computeTextureCompareDiff()
2801 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureCompareDiff()
2802 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat(); in computeTextureCompareDiff()
2812 const float nyo = wyo/dstH; in computeTextureCompareDiff()
2816 const tcu::Vec2 coordDyo = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureCompareDiff()
2817 triDerivateY(triT[triNdx], triW[triNdx], wyo, dstH, nxo)) * srcSize.asFloat(); in computeTextureCompareDiff()
2857 const float dstH = float(dstSize.y()); in computeTextureCompareDiff() local
2900 const float ny = wy / dstH; in computeTextureCompareDiff()
2904 const float triWy = triNdx ? dstH - wy : wy; in computeTextureCompareDiff()
2919 const float nyo = wyo/dstH; in computeTextureCompareDiff()
2922 const float coordDyo = triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo) * srcSize; in computeTextureCompareDiff()
2963 const float dstH = float(dstSize.y()); in computeTextureCompareDiff() local
3007 const float ny = wy / dstH; in computeTextureCompareDiff()
3011 const float triWy = triNdx ? dstH - wy : wy; in computeTextureCompareDiff()
3027 const float nyo = wyo/dstH; in computeTextureCompareDiff()
3030 const float coordDyo = triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo) * srcSize; in computeTextureCompareDiff()
3072 const float dstH = float(dstSize.y()); in computeTextureCompareDiff() local
3118 const float ny = wy / dstH; in computeTextureCompareDiff()
3122 const float triWy = triNdx ? dstH - wy : wy; in computeTextureCompareDiff()
3133 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureCompareDiff()
3134 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx), in computeTextureCompareDiff()
3135 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx)); in computeTextureCompareDiff()
3145 const float nyo = wyo/dstH; in computeTextureCompareDiff()
3153 const tcu::Vec3 coordDyo (triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureCompareDiff()
3154 triDerivateY(triT[triNdx], triW[triNdx], wyo, dstH, nxo), in computeTextureCompareDiff()
3155 triDerivateY(triR[triNdx], triW[triNdx], wyo, dstH, nxo)); in computeTextureCompareDiff()
3184 const float dstH = float(dst.getHeight()); in compareGenMipmapBilinear() local
3204 const float cy = (float(y)+0.5f) / dstH * srcH; in compareGenMipmapBilinear()
3220 const float dstH = float(dst.getHeight()); in compareGenMipmapBox() local
3240 const float cy = deFloatFloor(float(y) / dstH * srcH) + 1.0f; in compareGenMipmapBox()
3257 const float dstH = float(dst.getHeight()); in compareGenMipmapVeryLenient() local
3267 const int minY = deFloorFloatToInt32(((float)y-0.5f) / dstH * srcH); in compareGenMipmapVeryLenient()
3269 const int maxY = deCeilFloatToInt32(((float)y+1.5f) / dstH * srcH); in compareGenMipmapVeryLenient()