Home | History | Annotate | Download | only in opengl

Lines Matching refs:wx

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