[Mesa-dev] [PATCH] radeonsi: Track pipe_vertex_buffers for relocs.
Mathias Fröhlich
Mathias.Froehlich at gmx.net
Sun May 20 18:21:38 UTC 2018
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
More information about the mesa-dev
mailing list