Lines Matching refs:velem
77 struct cso_velems_state velem; member
256 memset(&p->velem, 0, sizeof(p->velem)); in init_prog()
257 p->velem.count = 2; in init_prog()
259 p->velem.velems[0].src_offset = 0 * 4 * sizeof(float); /* offset 0, first element */ in init_prog()
260 p->velem.velems[0].instance_divisor = 0; in init_prog()
261 p->velem.velems[0].vertex_buffer_index = 0; in init_prog()
262 p->velem.velems[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()
264 p->velem.velems[1].src_offset = 1 * 4 * sizeof(float); /* offset 16, second element */ in init_prog()
265 p->velem.velems[1].instance_divisor = 0; in init_prog()
266 p->velem.velems[1].vertex_buffer_index = 0; in init_prog()
267 p->velem.velems[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()
332 cso_set_vertex_elements(p->cso, &p->velem); in draw()