Lines Matching refs:velem
73 struct cso_velems_state velem; member
199 memset(&p->velem, 0, sizeof(p->velem)); in init_prog()
200 p->velem.count = 2; in init_prog()
202 p->velem.velems[0].src_offset = 0 * 4 * sizeof(float); /* offset 0, first element */ in init_prog()
203 p->velem.velems[0].instance_divisor = 0; in init_prog()
204 p->velem.velems[0].vertex_buffer_index = 0; in init_prog()
205 p->velem.velems[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()
207 p->velem.velems[1].src_offset = 1 * 4 * sizeof(float); /* offset 16, second element */ in init_prog()
208 p->velem.velems[1].instance_divisor = 0; in init_prog()
209 p->velem.velems[1].vertex_buffer_index = 0; in init_prog()
210 p->velem.velems[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()
262 cso_set_vertex_elements(p->cso, &p->velem); in draw()