Home | History | Annotate | Download | only in nvc0

Lines Matching refs:ve

76         const struct pipe_vertex_element *ve = &elements[i];
77 const unsigned vbi = ve->vertex_buffer_index;
79 enum pipe_format fmt = ve->src_format;
99 src_offset_max = MAX2(src_offset_max, ve->src_offset);
101 if (so->vb_access_size[vbi] < (ve->src_offset + size))
102 so->vb_access_size[vbi] = ve->src_offset + size;
104 if (unlikely(ve->instance_divisor)) {
107 if (ve->instance_divisor < so->min_instance_div[vbi])
108 so->min_instance_div[vbi] = ve->instance_divisor;
120 transkey.element[j].input_format = ve->src_format;
122 transkey.element[j].input_offset = ve->src_offset;
123 transkey.element[j].instance_divisor = ve->instance_divisor;
169 struct pipe_vertex_element *ve = &nvc0->vertex->element[a].pipe;
170 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index];
174 const void *src = (const uint8_t *)vb->user_buffer + ve->src_offset;
177 desc = util_format_description(ve->src_format);
235 struct pipe_vertex_element *ve = &nvc0->vertex->element[i].pipe;
236 const unsigned b = ve->vertex_buffer_index;
262 PUSH_DATAh(push, address[b] + ve->src_offset);
263 PUSH_DATA (push, address[b] + ve->src_offset);
316 const struct nvc0_vertex_element *ve;
324 ve = &vertex->element[i];
325 b = ve->pipe.vertex_buffer_index;
330 if (ve->pipe.instance_divisor) {
332 PUSH_DATA (push, ve->pipe.instance_divisor);
341 offset = ve->pipe.src_offset + vb->buffer_offset;
344 if (unlikely(ve->pipe.instance_divisor)) {
349 PUSH_DATA (push, ve->pipe.instance_divisor);
413 struct nvc0_vertex_element *ve;
480 ve = &vertex->element[i];
481 data[i] = ve->state;
482 if (unlikely(const_vbos & (1 << ve->pipe.vertex_buffer_index))) {