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