Lines Matching full:velem
76 struct pipe_vertex_element velem[2];
259 memset(p->velem, 0, sizeof(p->velem));
260 p->velem[0].src_offset = 0 * 4 * sizeof(float); /* offset 0, first element */
261 p->velem[0].instance_divisor = 0;
262 p->velem[0].vertex_buffer_index = 0;
263 p->velem[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT;
265 p->velem[1].src_offset = 1 * 4 * sizeof(float); /* offset 16, second element */
266 p->velem[1].instance_divisor = 0;
267 p->velem[1].vertex_buffer_index = 0;
268 p->velem[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT;
333 cso_set_vertex_elements(p->cso, 2, p->velem);