Searched refs:gridIndices (Results 1 – 3 of 3) sorted by relevance
260 std::vector<deUint16> gridIndices; in test() local272 gridIndices.reserve(numIndices); in test()304 gridIndices.push_back(corners[(k+0 + i + (2-j%3)) % 3]); in test()306 gridIndices.push_back(corners[(k+2 + i + (2-j%3) + secondTriangleVertexIndexOffset) % 3 + 1]); in test()316 gridIndices.push_back((deUint16)((i+(i+m)%2)*(gridWidth+1) + j+(j+n)%2)); in test()319 std::reverse(gridIndices.begin() + (gridIndices.size() - 4), in test()320 gridIndices.begin() + gridIndices.size()); in test()328 DE_ASSERT(static_cast<int>(gridIndices.size()) == numIndices); in test()333 …aSizeBytes = sizeInBytes(gridPosComps) + sizeInBytes(gridTessParams) + sizeInBytes(gridIndices); in test()347 …deMemcpy(pData + vertexIndicesOffset, &gridIndices[0], static_cast<std::size_t>(sizeInBytes(… in test()[all …]
1768 vector<deUint16> gridIndices; in iterate() local1772 gridIndices.reserve(numIndices); in iterate()1807 gridIndices.push_back(corners[(k+0 + i + (2-j%3)) % 3]); in iterate()1809 gridIndices.push_back(corners[(k+2 + i + (2-j%3) + secondTriangleVertexIndexOffset) % 3 + 1]); in iterate()1821 gridIndices.push_back((deUint16)((i+(i+m)%2)*(gridWidth+1) + j+(j+n)%2)); in iterate()1824 std::reverse(gridIndices.begin() + (gridIndices.size() - 4), in iterate()1825 gridIndices.begin() + gridIndices.size()); in iterate()1833 DE_ASSERT((int)gridIndices.size() == numIndices); in iterate()1850 glu::pr::Patches((int)gridIndices.size(), &gridIndices[0])); in iterate()