/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureMipmapTests.cpp | 63 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/ |
D | es3fTextureMipmapTests.cpp | 62 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/ |
D | es2aTextureMipmapTests.cpp | 184 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/ |
D | es3aTextureMipmapTests.cpp | 175 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/ |
D | es2fTextureMipmapTests.cpp | 187 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/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() 4031 const int cellNdx = cellOrder[ndx]; in generateAttributeData() local 4032 const int cellX = cellNdx % m_gridSize; in generateAttributeData() 4033 const int cellY = cellNdx / m_gridSize; in generateAttributeData() 4751 const int cellNdx = cellOrder[ndx]; in genVbo() local 4752 const bool cellSide = ((cellNdx % 2) == 0); in genVbo() 4753 const int cellX = (cellNdx / 2) % gridSize; in genVbo() 4754 const int cellY = (cellNdx / 2) / gridSize; in genVbo()
|