Lines Matching refs:wy
348 static inline float triDerivateY (const tcu::Vec3& s, const tcu::Vec3& w, float wy, float height, float nx)
350 float d = w[1]*w[2]*(height*(nx - 1.0f) + wy) - w[0]*(w[1]*height*nx + w[2]*wy);
355 static float computeProjectedTriLod (LodMode mode, const tcu::Vec3& u, const tcu::Vec3& projection, float wx, float wy, float width, float height)
358 float dudx = triDerivateX(u, projection, wx, width, wy/height);
359 float dudy = triDerivateY(u, projection, wy, height, wx/width);
365 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)
368 float dudx = triDerivateX(u, projection, wx, width, wy/height);
369 float dvdx = triDerivateX(v, projection, wx, width, wy/height);
370 float dudy = triDerivateY(u, projection, wy, height, wx/width);
371 float dvdy = triDerivateY(v, projection, wy, height, wx/width);
377 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)
380 float dudx = triDerivateX(u, projection, wx, width, wy/height);
381 float dvdx = triDerivateX(v, projection, wx, width, wy/height);
382 float dwdx = triDerivateX(w, projection, wx, width, wy/height);
383 float dudy = triDerivateY(u, projection, wy, height, wx/width);
384 float dvdy = triDerivateY(v, projection, wy, height, wx/width);
385 float dwdy = triDerivateY(w, projection, wy, height, wx/width);
519 float wy = (float)py + 0.5f;
521 float ny = wy / dstH;
525 float triWy = triNdx ? dstH - wy : wy;
558 float wy = (float)py + 0.5f;
560 float ny = wy / dstH;
564 float triWy = triNdx ? dstH - wy : wy;
660 const float wy = (float)py + 0.5f;
662 const float ny = wy / dstH;
674 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
675 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
676 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
846 float wy = (float)py + 0.5f;
848 float ny = wy / dstH;
852 float triWy = triNdx ? dstH - wy : wy;
899 const float wy = (float)py + 0.5f;
901 const float ny = wy / dstH;
916 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
917 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
918 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
1730 const float wy = (float)py + 0.5f;
1732 const float ny = wy / dstH;
1736 const float triWy = triNdx ? dstH - wy : wy;
1742 const float coordDy = triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx) * float(srcSize);
1834 const float wy = (float)py + 0.5f;
1836 const float ny = wy / dstH;
1840 const float triWy = triNdx ? dstH - wy : wy;
1848 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
1849 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();
2028 const float wy = (float)py + 0.5f;
2030 const float ny = wy / dstH;
2043 const float triWy = triNdx ? dstH - wy : wy;
2053 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2054 wy, dstH, triNx),
2055 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
2201 const float wy = (float)py + 0.5f;
2203 const float ny = wy / dstH;
2216 const float triWy = triNdx ? dstH - wy : wy;
2226 const tcu::Vec3 coordDy = tcu::Vec3(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2227 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
2228 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();
2368 const float wy = (float)py + 0.5f;
2370 const float ny = wy / dstH;
2374 const float triWy = triNdx ? dstH - wy : wy;
2381 const float coordDy = triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx) * srcSize;
2476 const float wy = (float)py + 0.5f;
2478 const float ny = wy / dstH;
2482 const float triWy = triNdx ? dstH - wy : wy;
2491 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2492 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize;
2676 const float wy = (float)py + 0.5f;
2678 const float ny = wy / dstH;
2691 const float triWy = triNdx ? dstH - wy : wy;
2702 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2703 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
2704 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
2848 const float wy = (float)py + 0.5f;
2850 const float ny = wy / dstH;
2854 const float triWy = triNdx ? dstH - wy : wy;
2862 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2863 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();
2960 const float wy = (float)py + 0.5f;
2962 const float ny = wy / dstH;
2966 const float triWy = triNdx ? dstH - wy : wy;
2976 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2977 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
2978 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
3078 const float wy = (float)py + 0.5f;
3080 const float ny = wy / dstH;
3084 const float triWy = triNdx ? dstH - wy : wy;
3093 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
3094 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();