Home
last modified time | relevance | path

Searched refs:vertex_elems (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_vertex_buffers.c164 struct pipe_vertex_element vertex_elems[NUM_VS_INPUTS]; in vl_vb_get_ves_ycbcr() local
168 memset(&vertex_elems, 0, sizeof(vertex_elems)); in vl_vb_get_ves_ycbcr()
169 vertex_elems[VS_I_RECT] = vl_vb_get_quad_vertex_element(); in vl_vb_get_ves_ycbcr()
172 vertex_elems[VS_I_VPOS].src_format = PIPE_FORMAT_R8G8B8A8_USCALED; in vl_vb_get_ves_ycbcr()
175 vertex_elems[VS_I_BLOCK_NUM].src_format = PIPE_FORMAT_R32_FLOAT; in vl_vb_get_ves_ycbcr()
177 vl_vb_element_helper(&vertex_elems[VS_I_VPOS], 2, 1); in vl_vb_get_ves_ycbcr()
179 return pipe->create_vertex_elements_state(pipe, 3, vertex_elems); in vl_vb_get_ves_ycbcr()
185 struct pipe_vertex_element vertex_elems[NUM_VS_INPUTS]; in vl_vb_get_ves_mv() local
189 memset(&vertex_elems, 0, sizeof(vertex_elems)); in vl_vb_get_ves_mv()
190 vertex_elems[VS_I_RECT] = vl_vb_get_quad_vertex_element(); in vl_vb_get_ves_mv()
[all …]
Dvl_compositor.c239 struct pipe_vertex_element vertex_elems[3]; in init_buffers() local
240 memset(vertex_elems, 0, sizeof(vertex_elems)); in init_buffers()
253 vertex_elems[0].src_offset = 0; in init_buffers()
254 vertex_elems[0].instance_divisor = 0; in init_buffers()
255 vertex_elems[0].vertex_buffer_index = 0; in init_buffers()
256 vertex_elems[0].src_format = PIPE_FORMAT_R32G32_FLOAT; in init_buffers()
257 vertex_elems[1].src_offset = sizeof(struct vertex2f); in init_buffers()
258 vertex_elems[1].instance_divisor = 0; in init_buffers()
259 vertex_elems[1].vertex_buffer_index = 0; in init_buffers()
260 vertex_elems[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_buffers()
[all …]