Lines Matching refs:dstW
508 float dstW = (float)dst.getWidth(); in sampleTextureProjected() local
523 float nx = wx / dstW; in sampleTextureProjected()
527 float triWx = triNdx ? dstW - wx : wx; in sampleTextureProjected()
548 float dstW = (float)dst.getWidth(); in sampleTextureProjected() local
566 float nx = wx / dstW; in sampleTextureProjected()
570 float triWx = triNdx ? dstW - wx : wx; in sampleTextureProjected()
654 const float dstW = float(dstSize.x()); in sampleTextureCube() local
672 const float nx = wx / dstW; in sampleTextureCube()
682 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in sampleTextureCube()
683 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in sampleTextureCube()
684 triDerivateX(triR[triNdx], triW[triNdx], wx, dstW, triNy)); in sampleTextureCube()
847 float dstW = (float)dst.getWidth(); in sampleTextureProjected() local
868 float nx = wx / dstW; in sampleTextureProjected()
872 float triWx = triNdx ? dstW - wx : wx; in sampleTextureProjected()
907 const float dstW = (float)dst.getWidth(); in sampleTextureCubeArray() local
925 const float nx = wx / dstW; in sampleTextureCubeArray()
938 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in sampleTextureCubeArray()
939 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in sampleTextureCubeArray()
940 triDerivateX(triR[triNdx], triW[triNdx], wx, dstW, triNy)); in sampleTextureCubeArray()
1710 const float dstW = float(dstSize.x()); in computeTextureLookupDiff() local
1748 const float nx = wx / dstW; in computeTextureLookupDiff()
1752 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
1758 …const float coordDx = triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy) * float(srcSize); in computeTextureLookupDiff()
1768 const float nxo = wxo/dstW; in computeTextureLookupDiff()
1771 … const float coordDxo = triDerivateX(triS[triNdx], triW[triNdx], wxo, dstW, nyo) * float(srcSize); in computeTextureLookupDiff()
1814 const float dstW = float(dstSize.x()); in computeTextureLookupDiff() local
1853 const float nx = wx / dstW; in computeTextureLookupDiff()
1857 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
1864 const tcu::Vec2 coordDx = tcu::Vec2(triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
1865 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize.asFloat(); in computeTextureLookupDiff()
1876 const float nxo = wxo/dstW; in computeTextureLookupDiff()
1879 const tcu::Vec2 coordDxo = tcu::Vec2(triDerivateX(triS[triNdx], triW[triNdx], wxo, dstW, nyo), in computeTextureLookupDiff()
1880 triDerivateX(triT[triNdx], triW[triNdx], wxo, dstW, nyo)) * srcSize.asFloat(); in computeTextureLookupDiff()
1998 const float dstW = float(dstSize.x()); in computeTextureLookupDiff() local
2046 const float nx = wx / dstW; in computeTextureLookupDiff()
2049 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f; in computeTextureLookupDiff()
2050 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f; in computeTextureLookupDiff()
2059 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
2067 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
2068 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
2069 triDerivateX(triR[triNdx], triW[triNdx], wx, dstW, triNy)); in computeTextureLookupDiff()
2081 const float nxo = wxo/dstW; in computeTextureLookupDiff()
2087 const tcu::Vec3 coordDxo (triDerivateX(triS[triNdx], triW[triNdx], wxo, dstW, nyo), in computeTextureLookupDiff()
2088 triDerivateX(triT[triNdx], triW[triNdx], wxo, dstW, nyo), in computeTextureLookupDiff()
2089 triDerivateX(triR[triNdx], triW[triNdx], wxo, dstW, nyo)); in computeTextureLookupDiff()
2178 const float dstW = float(dstSize.x()); in computeTextureLookupDiff() local
2220 const float nx = wx / dstW; in computeTextureLookupDiff()
2223 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f; in computeTextureLookupDiff()
2224 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f; in computeTextureLookupDiff()
2233 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
2241 const tcu::Vec3 coordDx = tcu::Vec3(triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
2242 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
2243 triDerivateX(triR[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize.asFloat(); in computeTextureLookupDiff()
2255 const float nxo = wxo/dstW; in computeTextureLookupDiff()
2258 const tcu::Vec3 coordDxo = tcu::Vec3(triDerivateX(triS[triNdx], triW[triNdx], wxo, dstW, nyo), in computeTextureLookupDiff()
2259 triDerivateX(triT[triNdx], triW[triNdx], wxo, dstW, nyo), in computeTextureLookupDiff()
2260 triDerivateX(triR[triNdx], triW[triNdx], wxo, dstW, nyo)) * srcSize.asFloat(); in computeTextureLookupDiff()
2348 const float dstW = float(dstSize.x()); in computeTextureLookupDiff() local
2387 const float nx = wx / dstW; in computeTextureLookupDiff()
2391 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
2398 const float coordDx = triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy) * srcSize; in computeTextureLookupDiff()
2408 const float nxo = wxo/dstW; in computeTextureLookupDiff()
2411 const float coordDxo = triDerivateX(triS[triNdx], triW[triNdx], wxo, dstW, nyo) * srcSize; in computeTextureLookupDiff()
2456 const float dstW = float(dstSize.x()); in computeTextureLookupDiff() local
2496 const float nx = wx / dstW; in computeTextureLookupDiff()
2500 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
2508 const tcu::Vec2 coordDx = tcu::Vec2(triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
2509 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize; in computeTextureLookupDiff()
2520 const float nxo = wxo/dstW; in computeTextureLookupDiff()
2523 const tcu::Vec2 coordDxo = tcu::Vec2(triDerivateX(triS[triNdx], triW[triNdx], wxo, dstW, nyo), in computeTextureLookupDiff()
2524 triDerivateX(triT[triNdx], triW[triNdx], wxo, dstW, nyo)) * srcSize; in computeTextureLookupDiff()
2644 const float dstW = float(dstSize.x()); in computeTextureLookupDiff() local
2693 const float nx = wx / dstW; in computeTextureLookupDiff()
2706 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
2715 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
2716 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
2717 triDerivateX(triR[triNdx], triW[triNdx], wx, dstW, triNy)); in computeTextureLookupDiff()
2729 const float nxo = wxo/dstW; in computeTextureLookupDiff()
2735 const tcu::Vec3 coordDxo (triDerivateX(triS[triNdx], triW[triNdx], wxo, dstW, nyo), in computeTextureLookupDiff()
2736 triDerivateX(triT[triNdx], triW[triNdx], wxo, dstW, nyo), in computeTextureLookupDiff()
2737 triDerivateX(triR[triNdx], triW[triNdx], wxo, dstW, nyo)); in computeTextureLookupDiff()
2824 const float dstW = float(dstSize.x()); in computeTextureCompareDiff() local
2868 const float nx = wx / dstW; in computeTextureCompareDiff()
2872 const float triWx = triNdx ? dstW - wx : wx; in computeTextureCompareDiff()
2879 const tcu::Vec2 coordDx = tcu::Vec2(triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureCompareDiff()
2880 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize.asFloat(); in computeTextureCompareDiff()
2891 const float nxo = wxo/dstW; in computeTextureCompareDiff()
2894 const tcu::Vec2 coordDxo = tcu::Vec2(triDerivateX(triS[triNdx], triW[triNdx], wxo, dstW, nyo), in computeTextureCompareDiff()
2895 triDerivateX(triT[triNdx], triW[triNdx], wxo, dstW, nyo)) * srcSize.asFloat(); in computeTextureCompareDiff()
2937 const float dstW = float(dstSize.x()); in computeTextureCompareDiff() local
2982 const float nx = wx / dstW; in computeTextureCompareDiff()
2986 const float triWx = triNdx ? dstW - wx : wx; in computeTextureCompareDiff()
2994 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureCompareDiff()
2995 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureCompareDiff()
2996 triDerivateX(triR[triNdx], triW[triNdx], wx, dstW, triNy)); in computeTextureCompareDiff()
3008 const float nxo = wxo/dstW; in computeTextureCompareDiff()
3014 const tcu::Vec3 coordDxo (triDerivateX(triS[triNdx], triW[triNdx], wxo, dstW, nyo), in computeTextureCompareDiff()
3015 triDerivateX(triT[triNdx], triW[triNdx], wxo, dstW, nyo), in computeTextureCompareDiff()
3016 triDerivateX(triR[triNdx], triW[triNdx], wxo, dstW, nyo)); in computeTextureCompareDiff()
3059 const float dstW = float(dstSize.x()); in computeTextureCompareDiff() local
3104 const float nx = wx / dstW; in computeTextureCompareDiff()
3108 const float triWx = triNdx ? dstW - wx : wx; in computeTextureCompareDiff()
3116 const tcu::Vec2 coordDx = tcu::Vec2(triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureCompareDiff()
3117 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize.asFloat(); in computeTextureCompareDiff()
3128 const float nxo = wxo/dstW; in computeTextureCompareDiff()
3131 const tcu::Vec2 coordDxo = tcu::Vec2(triDerivateX(triS[triNdx], triW[triNdx], wxo, dstW, nyo), in computeTextureCompareDiff()
3132 triDerivateX(triT[triNdx], triW[triNdx], wxo, dstW, nyo)) * srcSize.asFloat(); in computeTextureCompareDiff()
3162 const float dstW = float(dst.getWidth()); in compareGenMipmapBilinear() local
3182 const float cx = (float(x)+0.5f) / dstW * srcW; in compareGenMipmapBilinear()
3198 const float dstW = float(dst.getWidth()); in compareGenMipmapBox() local
3218 const float cx = deFloatFloor(float(x) / dstW * srcW) + 1.0f; in compareGenMipmapBox()
3235 const float dstW = float(dst.getWidth()); in compareGenMipmapVeryLenient() local
3245 const int minX = deFloorFloatToInt32(((float)x-0.5f) / dstW * srcW); in compareGenMipmapVeryLenient()
3247 const int maxX = deCeilFloatToInt32(((float)x+1.5f) / dstW * srcW); in compareGenMipmapVeryLenient()