Lines Matching defs:wy
302 static inline float triDerivateY (const tcu::Vec3& s, const tcu::Vec3& w, float wy, float height, float nx)
304 float d = w[1]*w[2]*(height*(nx - 1.0f) + wy) - w[0]*(w[1]*height*nx + w[2]*wy);
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);
495 float wy = (float)py + 0.5f;
497 float ny = wy / dstH;
501 float triWy = triNdx ? dstH - wy : wy;
539 float wy = (float)py + 0.5f;
541 float ny = wy / dstH;
545 float triWy = triNdx ? dstH - wy : wy;
677 const float wy = (float)py + 0.5f;
679 const float ny = wy / dstH;
691 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
692 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
693 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
886 float wy = (float)py + 0.5f;
888 float ny = wy / dstH;
892 float triWy = triNdx ? dstH - wy : wy;
953 const float wy = (float)py + 0.5f;
955 const float ny = wy / dstH;
970 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
971 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
972 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
1347 const float wy = (float)py + 0.5f;
1349 const float ny = wy / dstH;
1353 const float triWy = triNdx ? dstH - wy : wy;
1359 const float coordDy = triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx) * float(srcSize);
1473 const float wy = (float)py + 0.5f;
1475 const float ny = wy / dstH;
1477 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f;
1478 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f;
1488 const float triWy = triNdx ? dstH - wy : wy;
1496 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
1497 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();
1697 const float wy = (float)py + 0.5f;
1699 const float ny = wy / dstH;
1701 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f;
1702 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f;
1712 const float triWy = triNdx ? dstH - wy : wy;
1722 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
1723 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
1724 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
1888 const float wy = (float)py + 0.5f;
1890 const float ny = wy / dstH;
1892 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f;
1893 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f;
1903 const float triWy = triNdx ? dstH - wy : wy;
1913 const tcu::Vec3 coordDy = tcu::Vec3(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
1914 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
1915 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();
2055 const float wy = (float)py + 0.5f;
2057 const float ny = wy / dstH;
2061 const float triWy = triNdx ? dstH - wy : wy;
2068 const float coordDy = triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx) * srcSize;
2164 const float wy = (float)py + 0.5f;
2166 const float ny = wy / dstH;
2170 const float triWy = triNdx ? dstH - wy : wy;
2179 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2180 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize;
2371 const float wy = (float)py + 0.5f;
2373 const float ny = wy / dstH;
2386 const float triWy = triNdx ? dstH - wy : wy;
2397 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2398 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
2399 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
2548 const float wy = (float)py + 0.5f;
2550 const float ny = wy / dstH;
2554 const float triWy = triNdx ? dstH - wy : wy;
2562 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2563 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();
2664 const float wy = (float)py + 0.5f;
2666 const float ny = wy / dstH;
2670 const float triWy = triNdx ? dstH - wy : wy;
2680 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2681 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
2682 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
2786 const float wy = (float)py + 0.5f;
2788 const float ny = wy / dstH;
2792 const float triWy = triNdx ? dstH - wy : wy;
2801 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2802 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();
2898 const float wy = (float)py + 0.5f;
2900 const float ny = wy / dstH;
2904 const float triWy = triNdx ? dstH - wy : wy;
3005 const float wy = (float)py + 0.5f;
3007 const float ny = wy / dstH;
3011 const float triWy = triNdx ? dstH - wy : wy;
3116 const float wy = (float)py + 0.5f;
3118 const float ny = wy / dstH;
3122 const float triWy = triNdx ? dstH - wy : wy;
3133 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
3134 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
3135 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));