Hi Marek, On Sunday, 20 May 2018 20:08:08 CEST Marek Olšák wrote: > The old code saves which vertex element is the first to use a VBO slot. > When VBOs are added to the buffer list, each VBO is added only for such > vertex elements, and not added for others. So the old and new code do > exactly the same thing but differently.
But its doing that with less calls to radeon_add_to_buffer_list/amdgpu_cs_add_buffer. It avoids duplicate calls for pipe_vertex_elements refering to the same pipe_vertex_buffer. best Mathias _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev