• Home
  • Raw
  • Download

Lines Matching refs:ve

72         const struct pipe_vertex_element *ve = &elements[i];  in nv50_vertex_state_create()  local
73 const unsigned vbi = ve->vertex_buffer_index; in nv50_vertex_state_create()
75 enum pipe_format fmt = ve->src_format; in nv50_vertex_state_create()
96 if (so->vb_access_size[vbi] < (ve->src_offset + size)) in nv50_vertex_state_create()
97 so->vb_access_size[vbi] = ve->src_offset + size; in nv50_vertex_state_create()
103 transkey.element[j].input_format = ve->src_format; in nv50_vertex_state_create()
105 transkey.element[j].input_offset = ve->src_offset; in nv50_vertex_state_create()
106 transkey.element[j].instance_divisor = ve->instance_divisor; in nv50_vertex_state_create()
112 if (unlikely(ve->instance_divisor)) { in nv50_vertex_state_create()
115 if (ve->instance_divisor < so->min_instance_div[vbi]) in nv50_vertex_state_create()
116 so->min_instance_div[vbi] = ve->instance_divisor; in nv50_vertex_state_create()
136 struct pipe_vertex_element *ve, unsigned attr) in nv50_emit_vtxattr() argument
139 const void *data = (const uint8_t *)vb->user_buffer + ve->src_offset; in nv50_emit_vtxattr()
141 const unsigned nc = util_format_get_nr_components(ve->src_format); in nv50_emit_vtxattr()
145 util_format_read_4f(ve->src_format, v, 0, data, 0, 0, 0, 1, 1); in nv50_emit_vtxattr()
231 struct pipe_vertex_element *ve = &nv50->vertex->element[i].pipe; in nv50_update_user_vbufs() local
232 const unsigned b = ve->vertex_buffer_index; in nv50_update_user_vbufs()
240 nv50_emit_vtxattr(nv50, vb, ve, i); in nv50_update_user_vbufs()
259 PUSH_DATAh(push, address[b] + ve->src_offset); in nv50_update_user_vbufs()
260 PUSH_DATA (push, address[b] + ve->src_offset); in nv50_update_user_vbufs()
282 struct nv50_vertex_element *ve; in nv50_vertex_arrays_validate() local
324 ve = &vertex->element[i]; in nv50_vertex_arrays_validate()
328 PUSH_DATA(push, ve->state); in nv50_vertex_arrays_validate()
330 PUSH_DATA(push, ve->state | NV50_3D_VERTEX_ARRAY_ATTRIB_CONST); in nv50_vertex_arrays_validate()
352 ve = &vertex->element[i]; in nv50_vertex_arrays_validate()
358 nv50_emit_vtxattr(nv50, vb, &ve->pipe, i); in nv50_vertex_arrays_validate()
362 address = addrs[b] + ve->pipe.src_offset; in nv50_vertex_arrays_validate()
370 address = buf->address + vb->buffer_offset + ve->pipe.src_offset; in nv50_vertex_arrays_validate()
374 if (unlikely(ve->pipe.instance_divisor)) { in nv50_vertex_arrays_validate()
379 PUSH_DATA (push, ve->pipe.instance_divisor); in nv50_vertex_arrays_validate()