Searched refs:gridSizeX (Results 1 – 6 of 6) sorted by relevance
/external/deqp/modules/glshared/ |
D | glsShaderPerformanceMeasurer.cpp | 62 static inline int getNumVertices (int gridSizeX, int gridSizeY) in getNumVertices() argument 64 return (gridSizeX + 1) * (gridSizeY + 1); in getNumVertices() 67 static inline int getNumIndices (int gridSizeX, int gridSizeY) in getNumIndices() argument 69 return gridSizeX*gridSizeY*6; in getNumIndices() 72 static inline deUint16 getVtxIndex (int x, int y, int gridSizeX) in getVtxIndex() argument 74 return (deUint16)(y*(gridSizeX+1) + x); in getVtxIndex() 77 static void generateVertices (std::vector<float>& dst, int gridSizeX, int gridSizeY, const AttribSp… in generateVertices() argument 81 DE_ASSERT((gridSizeX + 1)*(gridSizeY + 1) <= (1<<16)); // Must fit into 16-bit indices. in generateVertices() 82 DE_ASSERT(gridSizeX >= 1 && gridSizeY >= 1); in generateVertices() 83 dst.resize((gridSizeX + 1) * (gridSizeY + 1) * 4); in generateVertices() [all …]
|
D | glsBufferTestUtil.cpp | 476 static void computePositions (vector<tcu::Vec2>& positions, int gridSizeX, int gridSizeY) in computePositions() argument 478 positions.resize(gridSizeX*gridSizeY*4); in computePositions() 481 for (int x = 0; x < gridSizeX; x++) in computePositions() 483 float sx0 = (float)(x+0) / (float)gridSizeX; in computePositions() 485 float sx1 = (float)(x+1) / (float)gridSizeX; in computePositions() 491 int baseNdx = (y * gridSizeX + x)*4; in computePositions() 500 static void computeIndices (vector<deUint16>& indices, int gridSizeX, int gridSizeY) in computeIndices() argument 502 indices.resize(3 * 2 * gridSizeX * gridSizeY); in computeIndices() 504 for (int quadNdx = 0; quadNdx < gridSizeX*gridSizeY; quadNdx++) in computeIndices()
|
/external/deqp/modules/gles2/functional/ |
D | es2fBufferTestUtil.cpp | 315 static void computePositions (vector<tcu::Vec2>& positions, int gridSizeX, int gridSizeY) in computePositions() argument 317 positions.resize(gridSizeX*gridSizeY*4); in computePositions() 320 for (int x = 0; x < gridSizeX; x++) in computePositions() 322 float sx0 = (float)(x+0) / (float)gridSizeX; in computePositions() 324 float sx1 = (float)(x+1) / (float)gridSizeX; in computePositions() 330 int baseNdx = (y * gridSizeX + x)*4; in computePositions() 339 static void computeIndices (vector<deUint16>& indices, int gridSizeX, int gridSizeY) in computeIndices() argument 341 indices.resize(3 * 2 * gridSizeX * gridSizeY); in computeIndices() 343 for (int quadNdx = 0; quadNdx < gridSizeX*gridSizeY; quadNdx++) in computeIndices()
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderOperatorTests.cpp | 343 static inline int getNumVertices (int gridSizeX, int gridSizeY) in getNumVertices() argument 345 return gridSizeX * gridSizeY * 2 * 3; in getNumVertices() 348 static void generateVertices (std::vector<float>& dst, int gridSizeX, int gridSizeY, const Operator… in generateVertices() argument 352 DE_ASSERT(gridSizeX >= 1 && gridSizeY >= 1); in generateVertices() 353 dst.resize(getNumVertices(gridSizeX, gridSizeY) * numComponents); in generateVertices() 359 for (int baseX = 0; baseX < gridSizeX; baseX++) in generateVertices() 361 const float xf0 = (float)(baseX + 0) / (float)gridSizeX; in generateVertices() 363 const float xf1 = (float)(baseX + 1) / (float)gridSizeX; in generateVertices()
|
/external/deqp/modules/gles2/performance/ |
D | es2pShaderOperatorTests.cpp | 343 static inline int getNumVertices (int gridSizeX, int gridSizeY) in getNumVertices() argument 345 return gridSizeX * gridSizeY * 2 * 3; in getNumVertices() 348 static void generateVertices (std::vector<float>& dst, int gridSizeX, int gridSizeY, const Operator… in generateVertices() argument 352 DE_ASSERT(gridSizeX >= 1 && gridSizeY >= 1); in generateVertices() 353 dst.resize(getNumVertices(gridSizeX, gridSizeY) * numComponents); in generateVertices() 359 for (int baseX = 0; baseX < gridSizeX; baseX++) in generateVertices() 361 const float xf0 = (float)(baseX + 0) / (float)gridSizeX; in generateVertices() 363 const float xf1 = (float)(baseX + 1) / (float)gridSizeX; in generateVertices()
|
/external/llvm/docs/ |
D | NVPTXUsage.rst | 727 unsigned gridSizeX = 1; 737 checkCudaErrors(cuLaunchKernel(function, gridSizeX, gridSizeY, gridSizeZ,
|