Lines Matching refs:ve
38 struct pipe_vertex_element *ve, unsigned attr) in nv30_emit_vtxattr() argument
40 const unsigned nc = util_format_get_nr_components(ve->src_format); in nv30_emit_vtxattr()
47 ve->src_offset, NOUVEAU_BO_RD); in nv30_emit_vtxattr()
49 util_format_read_4f(ve->src_format, v, 0, data, 0, 0, 0, 1, 1); in nv30_emit_vtxattr()
135 struct pipe_vertex_element *ve = &nv30->vertex->pipe[i]; in nv30_update_user_vbufs() local
136 const int b = ve->vertex_buffer_index; in nv30_update_user_vbufs()
144 nv30_emit_vtxattr(nv30, vb, ve, i); in nv30_update_user_vbufs()
154 offset = vb->buffer_offset + ve->src_offset; in nv30_update_user_vbufs()
184 struct pipe_vertex_element *ve; in nv30_vbo_validate() local
206 ve = &vertex->pipe[i]; in nv30_vbo_validate()
207 vb = &nv30->vtxbuf[ve->vertex_buffer_index]; in nv30_vbo_validate()
224 ve = &vertex->pipe[i]; in nv30_vbo_validate()
225 vb = &nv30->vtxbuf[ve->vertex_buffer_index]; in nv30_vbo_validate()
226 user = (nv30->vbo_user & (1 << ve->vertex_buffer_index)); in nv30_vbo_validate()
232 nv30_emit_vtxattr(nv30, vb, ve, i); in nv30_vbo_validate()
236 offset = ve->src_offset + vb->buffer_offset; in nv30_vbo_validate()
268 const struct pipe_vertex_element *ve = &elements[i]; in nv30_vertex_state_create() local
269 const unsigned vbi = ve->vertex_buffer_index; in nv30_vertex_state_create()
270 enum pipe_format fmt = ve->src_format; in nv30_vertex_state_create()
291 transkey.element[j].input_format = ve->src_format; in nv30_vertex_state_create()
293 transkey.element[j].input_offset = ve->src_offset; in nv30_vertex_state_create()
294 transkey.element[j].instance_divisor = ve->instance_divisor; in nv30_vertex_state_create()