Lines Matching refs:nx
328 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, floa… in projectedTriInterpolate() argument
330 …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()
339 …nline float triDerivateY (const tcu::Vec3& s, const tcu::Vec3& w, float wy, float height, float nx) in triDerivateY() argument
341 float d = w[1]*w[2]*(height*(nx - 1.0f) + wy) - w[0]*(w[1]*height*nx + w[2]*wy); in triDerivateY()
342 …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()
523 float nx = wx / dstW; in sampleTextureProjected() local
526 int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTextureProjected()
529 float triNx = triNdx ? 1.0f - nx : nx; in sampleTextureProjected()
566 float nx = wx / dstW; in sampleTextureProjected() local
569 int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTextureProjected()
572 float triNx = triNdx ? 1.0f - nx : nx; in sampleTextureProjected()
672 const float nx = wx / dstW; in sampleTextureCube() local
675 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTextureCube()
676 const float triNx = triNdx ? 1.0f - nx : nx; in sampleTextureCube()
868 float nx = wx / dstW; in sampleTextureProjected() local
871 int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTextureProjected()
874 float triNx = triNdx ? 1.0f - nx : nx; in sampleTextureProjected()
925 const float nx = wx / dstW; in sampleTextureCubeArray() local
928 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTextureCubeArray()
929 const float triNx = triNdx ? 1.0f - nx : nx; in sampleTextureCubeArray()
1753 const float nx = wx / dstW; in computeTextureLookupDiff() local
1756 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureLookupDiff()
1759 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
1858 const float nx = wx / dstW; in computeTextureLookupDiff() local
1861 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureLookupDiff()
1864 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2051 const float nx = wx / dstW; in computeTextureLookupDiff() local
2066 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2225 const float nx = wx / dstW; in computeTextureLookupDiff() local
2240 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2392 const float nx = wx / dstW; in computeTextureLookupDiff() local
2395 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureLookupDiff()
2398 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2501 const float nx = wx / dstW; in computeTextureLookupDiff() local
2504 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureLookupDiff()
2507 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2698 const float nx = wx / dstW; in computeTextureLookupDiff() local
2701 const bool tri0 = nx + ny - posEps <= 1.0f; in computeTextureLookupDiff()
2702 const bool tri1 = nx + ny + posEps >= 1.0f; in computeTextureLookupDiff()
2713 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2873 const float nx = wx / dstW; in computeTextureCompareDiff() local
2876 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureCompareDiff()
2879 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureCompareDiff()
2987 const float nx = wx / dstW; in computeTextureCompareDiff() local
2990 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureCompareDiff()
2993 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureCompareDiff()
3109 const float nx = wx / dstW; in computeTextureCompareDiff() local
3112 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureCompareDiff()
3115 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureCompareDiff()