Home | History | Annotate | Download | only in opengl

Lines Matching refs: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);
485 float wy = (float)py + 0.5f;
487 float ny = wy / dstH;
491 float triWy = triNdx ? dstH - wy : wy;
528 float wy = (float)py + 0.5f;
530 float ny = wy / dstH;
534 float triWy = triNdx ? dstH - wy : wy;
634 const float wy = (float)py + 0.5f;
636 const float ny = wy / dstH;
648 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
649 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
650 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
830 float wy = (float)py + 0.5f;
832 float ny = wy / dstH;
836 float triWy = triNdx ? dstH - wy : wy;
887 const float wy = (float)py + 0.5f;
889 const float ny = wy / dstH;
904 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
905 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
906 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
1281 const float wy = (float)py + 0.5f;
1283 const float ny = wy / dstH;
1287 const float triWy = triNdx ? dstH - wy : wy;
1293 const float coordDy = triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx) * float(srcSize);
1388 const float wy = (float)py + 0.5f;
1390 const float ny = wy / dstH;
1392 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f;
1393 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f;
1403 const float triWy = triNdx ? dstH - wy : wy;
1411 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
1412 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();
1595 const float wy = (float)py + 0.5f;
1597 const float ny = wy / dstH;
1599 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f;
1600 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f;
1610 const float triWy = triNdx ? dstH - wy : wy;
1620 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
1621 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
1622 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
1769 const float wy = (float)py + 0.5f;
1771 const float ny = wy / dstH;
1773 const bool tri0 = (wx-posEps)/dstW + (wy-posEps)/dstH <= 1.0f;
1774 const bool tri1 = (wx+posEps)/dstW + (wy+posEps)/dstH >= 1.0f;
1784 const float triWy = triNdx ? dstH - wy : wy;
1794 const tcu::Vec3 coordDy = tcu::Vec3(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
1795 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
1796 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();
1936 const float wy = (float)py + 0.5f;
1938 const float ny = wy / dstH;
1942 const float triWy = triNdx ? dstH - wy : wy;
1949 const float coordDy = triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx) * srcSize;
2045 const float wy = (float)py + 0.5f;
2047 const float ny = wy / dstH;
2051 const float triWy = triNdx ? dstH - wy : wy;
2060 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2061 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize;
2242 const float wy = (float)py + 0.5f;
2244 const float ny = wy / dstH;
2257 const float triWy = triNdx ? dstH - wy : wy;
2268 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2269 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
2270 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
2417 const float wy = (float)py + 0.5f;
2419 const float ny = wy / dstH;
2423 const float triWy = triNdx ? dstH - wy : wy;
2431 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2432 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();
2531 const float wy = (float)py + 0.5f;
2533 const float ny = wy / dstH;
2537 const float triWy = triNdx ? dstH - wy : wy;
2547 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2548 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx),
2549 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx));
2653 const float wy = (float)py + 0.5f;
2655 const float ny = wy / dstH;
2659 const float triWy = triNdx ? dstH - wy : wy;
2668 const tcu::Vec2 coordDy = tcu::Vec2(triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx),
2669 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat();