• Home
  • Raw
  • Download

Lines Matching refs:nx

291 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, floa…  in projectedTriInterpolate()  argument
293 …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()
302 …nline float triDerivateY (const tcu::Vec3& s, const tcu::Vec3& w, float wy, float height, float nx) in triDerivateY() argument
304 float d = w[1]*w[2]*(height*(nx - 1.0f) + wy) - w[0]*(w[1]*height*nx + w[2]*wy); in triDerivateY()
305 …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()
486 float nx = wx / dstW; in sampleTextureProjected() local
489 int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTextureProjected()
492 float triNx = triNdx ? 1.0f - nx : nx; in sampleTextureProjected()
529 float nx = wx / dstW; in sampleTextureProjected() local
532 int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTextureProjected()
535 float triNx = triNdx ? 1.0f - nx : nx; in sampleTextureProjected()
635 const float nx = wx / dstW; in sampleTextureCube() local
638 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTextureCube()
639 const float triNx = triNdx ? 1.0f - nx : nx; in sampleTextureCube()
831 float nx = wx / dstW; in sampleTextureProjected() local
834 int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTextureProjected()
837 float triNx = triNdx ? 1.0f - nx : nx; in sampleTextureProjected()
888 const float nx = wx / dstW; in sampleTextureCubeArray() local
891 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in sampleTextureCubeArray()
892 const float triNx = triNdx ? 1.0f - nx : nx; in sampleTextureCubeArray()
1282 const float nx = wx / dstW; in computeTextureLookupDiff() local
1285 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureLookupDiff()
1288 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
1389 const float nx = wx / dstW; in computeTextureLookupDiff() local
1404 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
1596 const float nx = wx / dstW; in computeTextureLookupDiff() local
1611 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
1770 const float nx = wx / dstW; in computeTextureLookupDiff() local
1785 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
1937 const float nx = wx / dstW; in computeTextureLookupDiff() local
1940 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureLookupDiff()
1943 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2046 const float nx = wx / dstW; in computeTextureLookupDiff() local
2049 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureLookupDiff()
2052 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2243 const float nx = wx / dstW; in computeTextureLookupDiff() local
2246 const bool tri0 = nx + ny - posEps <= 1.0f; in computeTextureLookupDiff()
2247 const bool tri1 = nx + ny + posEps >= 1.0f; in computeTextureLookupDiff()
2258 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureLookupDiff()
2418 const float nx = wx / dstW; in computeTextureCompareDiff() local
2421 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureCompareDiff()
2424 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureCompareDiff()
2532 const float nx = wx / dstW; in computeTextureCompareDiff() local
2535 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureCompareDiff()
2538 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureCompareDiff()
2654 const float nx = wx / dstW; in computeTextureCompareDiff() local
2657 const int triNdx = nx + ny >= 1.0f ? 1 : 0; in computeTextureCompareDiff()
2660 const float triNx = triNdx ? 1.0f - nx : nx; in computeTextureCompareDiff()