Searched refs:cellNdx (Results 1 – 5 of 5) sorted by relevance
/external/deqp/modules/gles3/functional/ |
D | es3fTextureMipmapTests.cpp | 61 static float getMinLodForCell (int cellNdx) in getMinLodForCell() argument 82 return s_values[cellNdx % DE_LENGTH_OF_ARRAY(s_values)]; in getMinLodForCell() 85 static float getMaxLodForCell (int cellNdx) in getMaxLodForCell() argument 107 return s_values[cellNdx % DE_LENGTH_OF_ARRAY(s_values)]; in getMaxLodForCell() 230 static void getBasicTexCoord2D (std::vector<float>& dst, int cellNdx) in getBasicTexCoord2D() argument 259 DE_ASSERT(de::inBounds(cellNdx, 0, DE_LENGTH_OF_ARRAY(s_basicCoords))); in getBasicTexCoord2D() 261 const Vec2& bottomLeft = s_basicCoords[cellNdx].bottomLeft; in getBasicTexCoord2D() 262 const Vec2& topRight = s_basicCoords[cellNdx].topRight; in getBasicTexCoord2D() 267 static void getAffineTexCoord2D (std::vector<float>& dst, int cellNdx) in getAffineTexCoord2D() argument 270 getBasicTexCoord2D(dst, cellNdx); in getAffineTexCoord2D() [all …]
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureMipmapTests.cpp | 182 static void getBasicTexCoord2D (std::vector<float>& dst, int cellNdx) in getBasicTexCoord2D() argument 211 DE_ASSERT(de::inBounds(cellNdx, 0, DE_LENGTH_OF_ARRAY(s_basicCoords))); in getBasicTexCoord2D() 213 const Vec2& bottomLeft = s_basicCoords[cellNdx].bottomLeft; in getBasicTexCoord2D() 214 const Vec2& topRight = s_basicCoords[cellNdx].topRight; in getBasicTexCoord2D() 219 static void getAffineTexCoord2D (std::vector<float>& dst, int cellNdx) in getAffineTexCoord2D() argument 222 getBasicTexCoord2D(dst, cellNdx); in getAffineTexCoord2D() 225 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D() 229 float shearX = de::inRange(cellNdx, 4, 11) ? (float)(15-cellNdx) / 16.0f : 0.0f; in getAffineTexCoord2D() 325 int cellNdx = gridY*gridWidth + gridX; in iterate() local 332 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break; in iterate() [all …]
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureMipmapTests.cpp | 174 static void getBasicTexCoord2D (std::vector<float>& dst, int cellNdx) in getBasicTexCoord2D() argument 203 DE_ASSERT(de::inBounds(cellNdx, 0, DE_LENGTH_OF_ARRAY(s_basicCoords))); in getBasicTexCoord2D() 205 const Vec2& bottomLeft = s_basicCoords[cellNdx].bottomLeft; in getBasicTexCoord2D() 206 const Vec2& topRight = s_basicCoords[cellNdx].topRight; in getBasicTexCoord2D() 211 static void getAffineTexCoord2D (std::vector<float>& dst, int cellNdx) in getAffineTexCoord2D() argument 214 getBasicTexCoord2D(dst, cellNdx); in getAffineTexCoord2D() 217 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D() 221 float shearX = de::inRange(cellNdx, 4, 11) ? (float)(15-cellNdx) / 16.0f : 0.0f; in getAffineTexCoord2D() 318 int cellNdx = gridY*gridWidth + gridX; in iterate() local 325 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break; in iterate() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureMipmapTests.cpp | 186 static void getBasicTexCoord2D (std::vector<float>& dst, int cellNdx) in getBasicTexCoord2D() argument 215 DE_ASSERT(de::inBounds(cellNdx, 0, DE_LENGTH_OF_ARRAY(s_basicCoords))); in getBasicTexCoord2D() 217 const Vec2& bottomLeft = s_basicCoords[cellNdx].bottomLeft; in getBasicTexCoord2D() 218 const Vec2& topRight = s_basicCoords[cellNdx].topRight; in getBasicTexCoord2D() 223 static void getAffineTexCoord2D (std::vector<float>& dst, int cellNdx) in getAffineTexCoord2D() argument 226 getBasicTexCoord2D(dst, cellNdx); in getAffineTexCoord2D() 229 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D() 233 float shearX = de::inRange(cellNdx, 4, 11) ? (float)(15-cellNdx) / 16.0f : 0.0f; in getAffineTexCoord2D() 318 const int cellNdx = gridY*gridWidth + gridX; in iterate() local 325 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break; in iterate() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fPrimitiveBoundingBoxTests.cpp | 1228 const int cellNdx = cellOrder[ndx]; in getAttributeData() local 1229 const int cellX = cellNdx % m_gridSize; in getAttributeData() 1230 const int cellY = cellNdx / m_gridSize; in getAttributeData() 3859 const int cellNdx = cellOrder[ndx]; in generateAttributeData() local 3860 const int cellX = cellNdx % m_gridSize; in generateAttributeData() 3861 const int cellY = cellNdx / m_gridSize; in generateAttributeData() 4576 const int cellNdx = cellOrder[ndx]; in genVbo() local 4577 const bool cellSide = ((cellNdx % 2) == 0); in genVbo() 4578 const int cellX = (cellNdx / 2) % gridSize; in genVbo() 4579 const int cellY = (cellNdx / 2) / gridSize; in genVbo()
|