Searched refs:velements (Results 1 – 4 of 4) sorted by relevance
363 struct pipe_vertex_element velements[]) in setup_interleaved_attribs() argument410 velements[attr].src_offset = src_offset; in setup_interleaved_attribs()411 velements[attr].instance_divisor = array->InstanceDivisor; in setup_interleaved_attribs()412 velements[attr].vertex_buffer_index = 0; in setup_interleaved_attribs()413 velements[attr].src_format = st_pipe_vertex_format(array->Type, in setup_interleaved_attribs()418 assert(velements[attr].src_format); in setup_interleaved_attribs()466 struct pipe_vertex_element velements[]) in setup_non_interleaved_attribs() argument517 velements[attr].src_offset = 0; in setup_non_interleaved_attribs()518 velements[attr].instance_divisor = array->InstanceDivisor; in setup_non_interleaved_attribs()519 velements[attr].vertex_buffer_index = attr; in setup_non_interleaved_attribs()[all …]
108 struct pipe_vertex_element velements[PIPE_MAX_ATTRIBS]; in st_feedback_draw_vbo() local175 velements[attr].src_offset = arrays[mesaAttr]->Ptr - low_addr; in st_feedback_draw_vbo()187 velements[attr].src_offset = 0; in st_feedback_draw_vbo()194 velements[attr].instance_divisor = 0; in st_feedback_draw_vbo()195 velements[attr].vertex_buffer_index = attr; in st_feedback_draw_vbo()196 velements[attr].src_format = in st_feedback_draw_vbo()202 assert(velements[attr].src_format); in st_feedback_draw_vbo()211 draw_set_vertex_elements(draw, vp->num_inputs, velements); in st_feedback_draw_vbo()
116 struct pipe_vertex_element velements[2 + MAX_TEXTURE_UNITS]; in st_DrawTex() local243 velements[i].src_offset = i * 4 * sizeof(float); in st_DrawTex()244 velements[i].instance_divisor = 0; in st_DrawTex()245 velements[i].vertex_buffer_index = 0; in st_DrawTex()246 velements[i].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in st_DrawTex()248 cso_set_vertex_elements(cso, numAttribs, velements); in st_DrawTex()
110 void *velements, *velements_saved; member177 if (ctx->velements == cso->data) in delete_vertex_elements()868 if (ctx->velements != handle) { in cso_set_vertex_elements()869 ctx->velements = handle; in cso_set_vertex_elements()885 ctx->velements_saved = ctx->velements; in cso_save_vertex_elements()897 if (ctx->velements != ctx->velements_saved) { in cso_restore_vertex_elements()898 ctx->velements = ctx->velements_saved; in cso_restore_vertex_elements()