Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_vertex_buffers.c163 struct pipe_vertex_element vertex_elems[NUM_VS_INPUTS]; in vl_vb_get_ves_ycbcr() local
167 memset(&vertex_elems, 0, sizeof(vertex_elems)); in vl_vb_get_ves_ycbcr()
168 vertex_elems[VS_I_RECT] = vl_vb_get_quad_vertex_element(); in vl_vb_get_ves_ycbcr()
171 vertex_elems[VS_I_VPOS].src_format = PIPE_FORMAT_R8G8B8A8_USCALED; in vl_vb_get_ves_ycbcr()
174 vertex_elems[VS_I_BLOCK_NUM].src_format = PIPE_FORMAT_R32_FLOAT; in vl_vb_get_ves_ycbcr()
176 vl_vb_element_helper(&vertex_elems[VS_I_VPOS], 2, 1); in vl_vb_get_ves_ycbcr()
178 return pipe->create_vertex_elements_state(pipe, 3, vertex_elems); in vl_vb_get_ves_ycbcr()
184 struct pipe_vertex_element vertex_elems[NUM_VS_INPUTS]; in vl_vb_get_ves_mv() local
188 memset(&vertex_elems, 0, sizeof(vertex_elems)); in vl_vb_get_ves_mv()
189 vertex_elems[VS_I_RECT] = vl_vb_get_quad_vertex_element(); in vl_vb_get_ves_mv()
[all …]
Dvl_compositor.c659 struct pipe_vertex_element vertex_elems[3]; in init_buffers() local
671 vertex_elems[0].src_offset = 0; in init_buffers()
672 vertex_elems[0].instance_divisor = 0; in init_buffers()
673 vertex_elems[0].vertex_buffer_index = 0; in init_buffers()
674 vertex_elems[0].src_format = PIPE_FORMAT_R32G32_FLOAT; in init_buffers()
675 vertex_elems[1].src_offset = sizeof(struct vertex2f); in init_buffers()
676 vertex_elems[1].instance_divisor = 0; in init_buffers()
677 vertex_elems[1].vertex_buffer_index = 0; in init_buffers()
678 vertex_elems[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_buffers()
679 vertex_elems[2].src_offset = sizeof(struct vertex2f) + sizeof(struct vertex4f); in init_buffers()
[all …]