Searched refs:elem_index (Results 1 – 2 of 2) sorted by relevance
572 unsigned elem_index[VB_NUM][PIPE_MAX_ATTRIBS]; /* ... into key.elements */ in u_vbuf_translate_begin() local590 memset(elem_index, ~0, sizeof(elem_index)); in u_vbuf_translate_begin()654 elem_index[type][i] = k->nr_elements; in u_vbuf_translate_begin()691 if (elem_index[type][i] < key[type].nr_elements) { in u_vbuf_translate_begin()692 struct translate_element *te = &key[type].element[elem_index[type][i]]; in u_vbuf_translate_begin()699 assert(type > VB_INSTANCE || elem_index[type+1][i] == ~0u); in u_vbuf_translate_begin()700 assert(type > VB_VERTEX || elem_index[type+2][i] == ~0u); in u_vbuf_translate_begin()
1158 BitWidth ElemWidth(size_t buf_size, size_t elem_index) const { in ElemWidth()1174 elem_index * byte_width; in ElemWidth()