Lines Matching refs:ve
107 struct pipe_vertex_element ve[3]; in set_vertices() local
112 memset(ve, 0, sizeof ve); in set_vertices()
115 ve[0].src_offset = Offset(struct vertex, position); in set_vertices()
116 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
117 ve[0].vertex_buffer_index = 0; in set_vertices()
120 ve[1].src_offset = Offset(struct vertex, color); in set_vertices()
121 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
122 ve[1].vertex_buffer_index = 0; in set_vertices()
125 ve[2].src_offset = 0; in set_vertices()
126 ve[2].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices()
127 ve[2].vertex_buffer_index = 1; in set_vertices()
128 ve[2].instance_divisor = 1; in set_vertices()
130 handle = ctx->create_vertex_elements_state(ctx, 3, ve); in set_vertices()