Lines Matching refs:wx
296 static inline float triDerivateX (const tcu::Vec3& s, const tcu::Vec3& w, float wx, float width, fl… in triDerivateX() argument
298 float d = w[1]*w[2]*(width*(ny - 1.0f) + wx) - w[0]*(w[2]*width*ny + w[1]*wx); in triDerivateX()
309 …iLod (LodMode mode, const tcu::Vec3& u, const tcu::Vec3& projection, float wx, float wy, float wid… in computeProjectedTriLod() argument
312 float dudx = triDerivateX(u, projection, wx, width, wy/height); in computeProjectedTriLod()
313 float dudy = triDerivateY(u, projection, wy, height, wx/width); in computeProjectedTriLod()
319 …const tcu::Vec3& u, const tcu::Vec3& v, const tcu::Vec3& projection, float wx, float wy, float wid… in computeProjectedTriLod() argument
322 float dudx = triDerivateX(u, projection, wx, width, wy/height); in computeProjectedTriLod()
323 float dvdx = triDerivateX(v, projection, wx, width, wy/height); in computeProjectedTriLod()
324 float dudy = triDerivateY(u, projection, wy, height, wx/width); in computeProjectedTriLod()
325 float dvdy = triDerivateY(v, projection, wy, height, wx/width); in computeProjectedTriLod()
331 …const tcu::Vec3& v, const tcu::Vec3& w, const tcu::Vec3& projection, float wx, float wy, float wid… in computeProjectedTriLod() argument
334 float dudx = triDerivateX(u, projection, wx, width, wy/height); in computeProjectedTriLod()
335 float dvdx = triDerivateX(v, projection, wx, width, wy/height); in computeProjectedTriLod()
336 float dwdx = triDerivateX(w, projection, wx, width, wy/height); in computeProjectedTriLod()
337 float dudy = triDerivateY(u, projection, wy, height, wx/width); in computeProjectedTriLod()
338 float dvdy = triDerivateY(v, projection, wy, height, wx/width); in computeProjectedTriLod()
339 float dwdy = triDerivateY(w, projection, wy, height, wx/width); in computeProjectedTriLod()
484 float wx = (float)px + 0.5f; in sampleTextureProjected() local
486 float nx = wx / dstW; in sampleTextureProjected()
490 float triWx = triNdx ? dstW - wx : wx; in sampleTextureProjected()
527 float wx = (float)px + 0.5f; in sampleTextureProjected() local
529 float nx = wx / dstW; in sampleTextureProjected()
533 float triWx = triNdx ? dstW - wx : wx; in sampleTextureProjected()
633 const float wx = (float)px + 0.5f; in sampleTextureCube() local
635 const float nx = wx / dstW; in sampleTextureCube()
645 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in sampleTextureCube()
646 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in sampleTextureCube()
647 triDerivateX(triR[triNdx], triW[triNdx], wx, dstW, triNy)); in sampleTextureCube()
829 float wx = (float)px + 0.5f; in sampleTextureProjected() local
831 float nx = wx / dstW; in sampleTextureProjected()
835 float triWx = triNdx ? dstW - wx : wx; in sampleTextureProjected()
886 const float wx = (float)px + 0.5f; in sampleTextureCubeArray() local
888 const float nx = wx / dstW; in sampleTextureCubeArray()
901 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in sampleTextureCubeArray()
902 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in sampleTextureCubeArray()
903 triDerivateX(triR[triNdx], triW[triNdx], wx, dstW, triNy)); in sampleTextureCubeArray()
1280 const float wx = (float)px + 0.5f; in computeTextureLookupDiff() local
1282 const float nx = wx / dstW; in computeTextureLookupDiff()
1286 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
1292 …const float coordDx = triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy) * float(srcSize); in computeTextureLookupDiff()
1387 const float wx = (float)px + 0.5f; in computeTextureLookupDiff() local
1389 const float nx = wx / dstW; in computeTextureLookupDiff()
1392 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f; in computeTextureLookupDiff()
1393 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f; in computeTextureLookupDiff()
1402 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
1409 const tcu::Vec2 coordDx = tcu::Vec2(triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
1410 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize.asFloat(); in computeTextureLookupDiff()
1594 const float wx = (float)px + 0.5f; in computeTextureLookupDiff() local
1596 const float nx = wx / dstW; in computeTextureLookupDiff()
1599 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f; in computeTextureLookupDiff()
1600 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f; in computeTextureLookupDiff()
1609 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
1617 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
1618 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
1619 triDerivateX(triR[triNdx], triW[triNdx], wx, dstW, triNy)); in computeTextureLookupDiff()
1768 const float wx = (float)px + 0.5f; in computeTextureLookupDiff() local
1770 const float nx = wx / dstW; in computeTextureLookupDiff()
1773 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f; in computeTextureLookupDiff()
1774 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f; in computeTextureLookupDiff()
1783 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
1791 const tcu::Vec3 coordDx = tcu::Vec3(triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
1792 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
1793 triDerivateX(triR[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize.asFloat(); in computeTextureLookupDiff()
1935 const float wx = (float)px + 0.5f; in computeTextureLookupDiff() local
1937 const float nx = wx / dstW; in computeTextureLookupDiff()
1941 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
1948 const float coordDx = triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy) * srcSize; in computeTextureLookupDiff()
2044 const float wx = (float)px + 0.5f; in computeTextureLookupDiff() local
2046 const float nx = wx / dstW; in computeTextureLookupDiff()
2050 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
2058 const tcu::Vec2 coordDx = tcu::Vec2(triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
2059 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize; in computeTextureLookupDiff()
2241 const float wx = (float)px + 0.5f; in computeTextureLookupDiff() local
2243 const float nx = wx / dstW; in computeTextureLookupDiff()
2256 const float triWx = triNdx ? dstW - wx : wx; in computeTextureLookupDiff()
2265 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
2266 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureLookupDiff()
2267 triDerivateX(triR[triNdx], triW[triNdx], wx, dstW, triNy)); in computeTextureLookupDiff()
2416 const float wx = (float)px + 0.5f; in computeTextureCompareDiff() local
2418 const float nx = wx / dstW; in computeTextureCompareDiff()
2422 const float triWx = triNdx ? dstW - wx : wx; in computeTextureCompareDiff()
2429 const tcu::Vec2 coordDx = tcu::Vec2(triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureCompareDiff()
2430 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize.asFloat(); in computeTextureCompareDiff()
2530 const float wx = (float)px + 0.5f; in computeTextureCompareDiff() local
2532 const float nx = wx / dstW; in computeTextureCompareDiff()
2536 const float triWx = triNdx ? dstW - wx : wx; in computeTextureCompareDiff()
2544 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureCompareDiff()
2545 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureCompareDiff()
2546 triDerivateX(triR[triNdx], triW[triNdx], wx, dstW, triNy)); in computeTextureCompareDiff()
2652 const float wx = (float)px + 0.5f; in computeTextureCompareDiff() local
2654 const float nx = wx / dstW; in computeTextureCompareDiff()
2658 const float triWx = triNdx ? dstW - wx : wx; in computeTextureCompareDiff()
2666 const tcu::Vec2 coordDx = tcu::Vec2(triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in computeTextureCompareDiff()
2667 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize.asFloat(); in computeTextureCompareDiff()