Home | History | Annotate | Download | only in glshared

Lines Matching defs:wy

339 static inline float triDerivateY (const tcu::Vec3& s, const tcu::Vec3& w, float wy, float height, float nx)
341 float d = w[1]*w[2]*(height*(nx - 1.0f) + wy) - w[0]*(w[1]*height*nx + w[2]*wy);
346 static float computeProjectedTriLod (LodMode mode, const tcu::Vec3& u, const tcu::Vec3& projection, float wx, float wy, float width, float height)
349 float dudx = triDerivateX(u, projection, wx, width, wy/height);
350 float dudy = triDerivateY(u, projection, wy, height, wx/width);
356 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)
359 float dudx = triDerivateX(u, projection, wx, width, wy/height);
360 float dvdx = triDerivateX(v, projection, wx, width, wy/height);
361 float dudy = triDerivateY(u, projection, wy, height, wx/width);
362 float dvdy = triDerivateY(v, projection, wy, height, wx/width);
368 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)
371 float dudx = triDerivateX(u, projection, wx, width, wy/height);
372 float dvdx = triDerivateX(v, projection, wx, width, wy/height);
373 float dwdx = triDerivateX(w, projection, wx, width, wy/height);
374 float dudy = triDerivateY(u, projection, wy, height, wx/width);
375 float dvdy = triDerivateY(v, projection, wy, height, wx/width);
376 float dwdy = triDerivateY(w, projection, wy, height, wx/width);
522 float wy = (float)py + 0.5f;
524 float ny = wy / dstH;
528 float triWy = triNdx ? dstH - wy : wy;
565 float wy = (float)py + 0.5f;
567 float ny = wy / dstH;
571 float triWy = triNdx ? dstH - wy : wy;
671 const float wy = (float)py + 0.5f;
673 const float ny = wy / dstH;
685 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
686 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
687 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
867 float wy = (float)py + 0.5f;
869 float ny = wy / dstH;
873 float triWy = triNdx ? dstH - wy : wy;
924 const float wy = (float)py + 0.5f;
926 const float ny = wy / dstH;
941 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
942 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
943 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
1747 const float wy = (float)py + 0.5f;
1749 const float ny = wy / dstH;
1753 const float triWy = triNdx ? dstH - wy : wy;
1759 const float coordDy = triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx) * float(srcSize);
1852 const float wy = (float)py + 0.5f;
1854 const float ny = wy / dstH;
1858 const float triWy = triNdx ? dstH - wy : wy;
1866 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
1867 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();
2045 const float wy = (float)py + 0.5f;
2047 const float ny = wy / dstH;
2049 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f;
2050 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f;
2060 const float triWy = triNdx ? dstH - wy : wy;
2070 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2071 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
2072 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
2219 const float wy = (float)py + 0.5f;
2221 const float ny = wy / dstH;
2223 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f;
2224 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f;
2234 const float triWy = triNdx ? dstH - wy : wy;
2244 const tcu::Vec3 coordDy = tcu::Vec3(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2245 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
2246 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();
2386 const float wy = (float)py + 0.5f;
2388 const float ny = wy / dstH;
2392 const float triWy = triNdx ? dstH - wy : wy;
2399 const float coordDy = triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx) * srcSize;
2495 const float wy = (float)py + 0.5f;
2497 const float ny = wy / dstH;
2501 const float triWy = triNdx ? dstH - wy : wy;
2510 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2511 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize;
2692 const float wy = (float)py + 0.5f;
2694 const float ny = wy / dstH;
2707 const float triWy = triNdx ? dstH - wy : wy;
2718 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2719 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
2720 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
2867 const float wy = (float)py + 0.5f;
2869 const float ny = wy / dstH;
2873 const float triWy = triNdx ? dstH - wy : wy;
2881 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2882 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();
2981 const float wy = (float)py + 0.5f;
2983 const float ny = wy / dstH;
2987 const float triWy = triNdx ? dstH - wy : wy;
2997 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2998 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
2999 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
3103 const float wy = (float)py + 0.5f;
3105 const float ny = wy / dstH;
3109 const float triWy = triNdx ? dstH - wy : wy;
3118 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
3119 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();