Lines Matching refs:nx
337 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, floa… in projectedTriInterpolate() argument
339 …return (s[0]*(1.0f-nx-ny)/w[0] + s[1]*ny/w[1] + s[2]*nx/w[2]) / ((1.0f-nx-ny)/w[0] + ny/w[1] + nx/… in projectedTriInterpolate()
348 …nline float triDerivateY (const tcu::Vec3& s, const tcu::Vec3& w, float wy, float height, float nx) in triDerivateY() argument
350 float d = w[1]*w[2]*(height*(nx - 1.0f) + wy) - w[0]*(w[1]*height*nx + w[2]*wy); in triDerivateY()
351 …return (w[0]*w[1]*w[2]*height * (w[2]*(s[0] - s[1])*(nx - 1.0f) + nx*(w[0]*(s[1] - s[2]) + w[1]*(s… in triDerivateY()
520 float nx = wx / dstW; in sampleTextureProjected() local
523 int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTextureProjected()
526 float triNx = triNdx ? 1.0f - nx : nx; in sampleTextureProjected()
559 float nx = wx / dstW; in sampleTextureProjected() local
562 int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTextureProjected()
565 float triNx = triNdx ? 1.0f - nx : nx; in sampleTextureProjected()
661 const float nx = wx / dstW; in sampleTexture() local
664 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTexture()
665 const float triNx = triNdx ? 1.0f - nx : nx; in sampleTexture()
847 float nx = wx / dstW; in sampleTextureProjected() local
850 int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTextureProjected()
853 float triNx = triNdx ? 1.0f - nx : nx; in sampleTextureProjected()
900 const float nx = wx / dstW; in sampleTexture() local
903 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTexture()
904 const float triNx = triNdx ? 1.0f - nx : nx; in sampleTexture()
1731 const float nx = wx / dstW; in computeTextureLookupDiff() local
1734 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureLookupDiff()
1737 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
1835 const float nx = wx / dstW; in computeTextureLookupDiff() local
1838 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureLookupDiff()
1841 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2029 const float nx = wx / dstW; in computeTextureLookupDiff() local
2032 const bool tri0 = nx + ny - posEps <= 1.0f; in computeTextureLookupDiff()
2033 const bool tri1 = nx + ny + posEps >= 1.0f; in computeTextureLookupDiff()
2044 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2202 const float nx = wx / dstW; in computeTextureLookupDiff() local
2205 const bool tri0 = nx + ny - posEps <= 1.0f; in computeTextureLookupDiff()
2206 const bool tri1 = nx + ny + posEps >= 1.0f; in computeTextureLookupDiff()
2217 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2369 const float nx = wx / dstW; in computeTextureLookupDiff() local
2372 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureLookupDiff()
2375 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2477 const float nx = wx / dstW; in computeTextureLookupDiff() local
2480 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureLookupDiff()
2483 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2677 const float nx = wx / dstW; in computeTextureLookupDiff() local
2680 const bool tri0 = nx + ny - posEps <= 1.0f; in computeTextureLookupDiff()
2681 const bool tri1 = nx + ny + posEps >= 1.0f; in computeTextureLookupDiff()
2692 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2849 const float nx = wx / dstW; in computeTextureCompareDiff() local
2852 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureCompareDiff()
2855 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureCompareDiff()
2961 const float nx = wx / dstW; in computeTextureCompareDiff() local
2964 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureCompareDiff()
2967 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureCompareDiff()
3079 const float nx = wx / dstW; in computeTextureCompareDiff() local
3082 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureCompareDiff()
3085 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureCompareDiff()