Lines Matching refs:elementNdx
1719 size_t PrimitiveList::getIndex (size_t elementNdx) const in getIndex()
1724 int index = m_baseVertex + (int)readIndexArray(m_indexType, m_indices, elementNdx); in getIndex()
1730 return (size_t)(m_baseVertex) + elementNdx; in getIndex()
1733 bool PrimitiveList::isRestartIndex (size_t elementNdx, deUint32 restartIndex) const in isRestartIndex() argument
1737 return readIndexArray(m_indexType, m_indices, elementNdx) == restartIndex; in isRestartIndex()
1739 return elementNdx == (size_t)restartIndex; in isRestartIndex()
1785 for (size_t elementNdx = 0; elementNdx < command.primitives.getNumElements(); ++elementNdx) in drawInstanced() local
1791 while (elementNdx < command.primitives.getNumElements() && in drawInstanced()
1792 …!(command.state.restart.enabled && command.primitives.isRestartIndex(elementNdx, command.state.res… in drawInstanced()
1796 vertexPackets[numVertexPackets]->vertexNdx = (int)command.primitives.getIndex(elementNdx); in drawInstanced()
1803 ++elementNdx; in drawInstanced()