Home
last modified time | relevance | path

Searched refs:cellNdx (Results 1 – 8 of 8) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp63 float getMinLodForCell (int cellNdx) in getMinLodForCell() argument
84 return s_values[cellNdx % DE_LENGTH_OF_ARRAY(s_values)]; in getMinLodForCell()
87 float getMaxLodForCell (int cellNdx) in getMaxLodForCell() argument
109 return s_values[cellNdx % DE_LENGTH_OF_ARRAY(s_values)]; in getMaxLodForCell()
198 static void getBasicTexCoord2D (std::vector<float>& dst, int cellNdx) in getBasicTexCoord2D() argument
227 DE_ASSERT(de::inBounds(cellNdx, 0, DE_LENGTH_OF_ARRAY(s_basicCoords))); in getBasicTexCoord2D()
229 const Vec2& bottomLeft = s_basicCoords[cellNdx].bottomLeft; in getBasicTexCoord2D()
230 const Vec2& topRight = s_basicCoords[cellNdx].topRight; in getBasicTexCoord2D()
235 static void getAffineTexCoord2D (std::vector<float>& dst, int cellNdx) in getAffineTexCoord2D() argument
238 getBasicTexCoord2D(dst, cellNdx); in getAffineTexCoord2D()
[all …]
/external/deqp/modules/gles3/functional/
Des3fTextureMipmapTests.cpp62 static float getMinLodForCell (int cellNdx) in getMinLodForCell() argument
83 return s_values[cellNdx % DE_LENGTH_OF_ARRAY(s_values)]; in getMinLodForCell()
86 static float getMaxLodForCell (int cellNdx) in getMaxLodForCell() argument
108 return s_values[cellNdx % DE_LENGTH_OF_ARRAY(s_values)]; in getMaxLodForCell()
231 static void getBasicTexCoord2D (std::vector<float>& dst, int cellNdx) in getBasicTexCoord2D() argument
260 DE_ASSERT(de::inBounds(cellNdx, 0, DE_LENGTH_OF_ARRAY(s_basicCoords))); in getBasicTexCoord2D()
262 const Vec2& bottomLeft = s_basicCoords[cellNdx].bottomLeft; in getBasicTexCoord2D()
263 const Vec2& topRight = s_basicCoords[cellNdx].topRight; in getBasicTexCoord2D()
268 static void getAffineTexCoord2D (std::vector<float>& dst, int cellNdx) in getAffineTexCoord2D() argument
271 getBasicTexCoord2D(dst, cellNdx); in getAffineTexCoord2D()
[all …]
/external/deqp/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp184 static void getBasicTexCoord2D (std::vector<float>& dst, int cellNdx) in getBasicTexCoord2D() argument
213 DE_ASSERT(de::inBounds(cellNdx, 0, DE_LENGTH_OF_ARRAY(s_basicCoords))); in getBasicTexCoord2D()
215 const Vec2& bottomLeft = s_basicCoords[cellNdx].bottomLeft; in getBasicTexCoord2D()
216 const Vec2& topRight = s_basicCoords[cellNdx].topRight; in getBasicTexCoord2D()
221 static void getAffineTexCoord2D (std::vector<float>& dst, int cellNdx) in getAffineTexCoord2D() argument
224 getBasicTexCoord2D(dst, cellNdx); in getAffineTexCoord2D()
227 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D()
231 float shearX = de::inRange(cellNdx, 4, 11) ? (float)(15-cellNdx) / 16.0f : 0.0f; in getAffineTexCoord2D()
327 int cellNdx = gridY*gridWidth + gridX; in iterate() local
334 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break; in iterate()
[all …]
/external/deqp/modules/gles3/accuracy/
Des3aTextureMipmapTests.cpp175 static void getBasicTexCoord2D (std::vector<float>& dst, int cellNdx) in getBasicTexCoord2D() argument
204 DE_ASSERT(de::inBounds(cellNdx, 0, DE_LENGTH_OF_ARRAY(s_basicCoords))); in getBasicTexCoord2D()
206 const Vec2& bottomLeft = s_basicCoords[cellNdx].bottomLeft; in getBasicTexCoord2D()
207 const Vec2& topRight = s_basicCoords[cellNdx].topRight; in getBasicTexCoord2D()
212 static void getAffineTexCoord2D (std::vector<float>& dst, int cellNdx) in getAffineTexCoord2D() argument
215 getBasicTexCoord2D(dst, cellNdx); in getAffineTexCoord2D()
218 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D()
222 float shearX = de::inRange(cellNdx, 4, 11) ? (float)(15-cellNdx) / 16.0f : 0.0f; in getAffineTexCoord2D()
319 int cellNdx = gridY*gridWidth + gridX; in iterate() local
326 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break; in iterate()
[all …]
/external/deqp/modules/gles2/functional/
Des2fTextureMipmapTests.cpp187 static void getBasicTexCoord2D (std::vector<float>& dst, int cellNdx) in getBasicTexCoord2D() argument
216 DE_ASSERT(de::inBounds(cellNdx, 0, DE_LENGTH_OF_ARRAY(s_basicCoords))); in getBasicTexCoord2D()
218 const Vec2& bottomLeft = s_basicCoords[cellNdx].bottomLeft; in getBasicTexCoord2D()
219 const Vec2& topRight = s_basicCoords[cellNdx].topRight; in getBasicTexCoord2D()
224 static void getAffineTexCoord2D (std::vector<float>& dst, int cellNdx) in getAffineTexCoord2D() argument
227 getBasicTexCoord2D(dst, cellNdx); in getAffineTexCoord2D()
230 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D()
234 float shearX = de::inRange(cellNdx, 4, 11) ? (float)(15-cellNdx) / 16.0f : 0.0f; in getAffineTexCoord2D()
319 const int cellNdx = gridY*gridWidth + gridX; in iterate() local
326 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break; in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderViewportIndexTests.cpp442 for (int cellNdx = 0; cellNdx < numCells; ++cellNdx) in generateGrid() local
444 const bool nextRow = (cellNdx != 0) && (cellNdx % numCols == 0); in generateGrid()
DvktDrawShaderLayerTests.cpp666 for (int cellNdx = 0; cellNdx < numCells; ++cellNdx) in generateGrid() local
668 const bool nextRow = (cellNdx != 0) && (cellNdx % numCols == 0); in generateGrid()
/external/deqp/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp1264 const int cellNdx = cellOrder[ndx]; in getAttributeData() local
1265 const int cellX = cellNdx % m_gridSize; in getAttributeData()
1266 const int cellY = cellNdx / m_gridSize; in getAttributeData()
4070 const int cellNdx = cellOrder[ndx]; in generateAttributeData() local
4071 const int cellX = cellNdx % m_gridSize; in generateAttributeData()
4072 const int cellY = cellNdx / m_gridSize; in generateAttributeData()
4794 const int cellNdx = cellOrder[ndx]; in genVbo() local
4795 const bool cellSide = ((cellNdx % 2) == 0); in genVbo()
4796 const int cellX = (cellNdx / 2) % gridSize; in genVbo()
4797 const int cellY = (cellNdx / 2) / gridSize; in genVbo()