Home
last modified time | relevance | path

Searched refs:velements (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c382 struct pipe_vertex_element *velements, in init_velement_lowered() argument
397 init_velement(&velements[idx], src_offset, in init_velement_lowered()
409 init_velement(&velements[idx], src_offset + 4 * sizeof(float), in init_velement_lowered()
415 init_velement(&velements[idx], src_offset, PIPE_FORMAT_R32G32_UINT, in init_velement_lowered()
422 init_velement(&velements[idx], src_offset, in init_velement_lowered()
433 struct pipe_vertex_element *velements, in set_vertex_attribs() argument
445 cso_set_vertex_elements(cso, num_velements, velements); in set_vertex_attribs()
461 struct pipe_vertex_element velements[PIPE_MAX_ATTRIBS] = {{0}}; in setup_interleaved_attribs() local
523 init_velement_lowered(vp, velements, src_offset, src_format, in setup_interleaved_attribs()
564 velements, num_inputs); in setup_interleaved_attribs()
[all …]
Dst_draw_feedback.c130 struct pipe_vertex_element velements[PIPE_MAX_ATTRIBS]; in st_feedback_draw_vbo() local
200 velements[attr].src_offset = arrays[mesaAttr]->Ptr - low_addr; in st_feedback_draw_vbo()
213 velements[attr].src_offset = 0; in st_feedback_draw_vbo()
221 velements[attr].instance_divisor = 0; in st_feedback_draw_vbo()
222 velements[attr].vertex_buffer_index = attr; in st_feedback_draw_vbo()
223 velements[attr].src_format = in st_feedback_draw_vbo()
229 assert(velements[attr].src_format); in st_feedback_draw_vbo()
238 draw_set_vertex_elements(draw, vp->num_inputs, velements); in st_feedback_draw_vbo()
Dst_cb_drawtex.c117 struct pipe_vertex_element velements[2 + MAX_TEXTURE_UNITS]; in st_DrawTex() local
255 velements[i].src_offset = i * 4 * sizeof(float); in st_DrawTex()
256 velements[i].instance_divisor = 0; in st_DrawTex()
257 velements[i].vertex_buffer_index = 0; in st_DrawTex()
258 velements[i].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in st_DrawTex()
260 cso_set_vertex_elements(cso, numAttribs, velements); in st_DrawTex()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c118 void *velements, *velements_saved; member
190 if (ctx->velements == cso->data) in delete_vertex_elements()
1106 if (ctx->velements != handle) { in cso_set_vertex_elements()
1107 ctx->velements = handle; in cso_set_vertex_elements()
1124 ctx->velements_saved = ctx->velements; in cso_save_vertex_elements()
1137 if (ctx->velements != ctx->velements_saved) { in cso_restore_vertex_elements()
1138 ctx->velements = ctx->velements_saved; in cso_restore_vertex_elements()