Lines Matching defs:vbi
73 const unsigned vbi = ve->vertex_buffer_index;
96 if (so->vb_access_size[vbi] < (ve->src_offset + size))
97 so->vb_access_size[vbi] = ve->src_offset + size;
104 transkey.element[j].input_buffer = vbi;
114 so->instance_bufs |= 1 << vbi;
115 if (ve->instance_divisor < so->min_instance_div[vbi])
116 so->min_instance_div[vbi] = ve->instance_divisor;
181 nv50_user_vbuf_range(struct nv50_context *nv50, int vbi,
184 if (unlikely(nv50->vertex->instance_bufs & (1 << vbi))) {
187 *size = nv50->vtxbuf[vbi].buffer->width0;
191 *base = nv50->vb_elt_first * nv50->vtxbuf[vbi].stride;
192 *size = nv50->vb_elt_limit * nv50->vtxbuf[vbi].stride +
193 nv50->vertex->vb_access_size[vbi];