mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
r300g: do not flush the uploader
We don't have to unmap and recreate the upload buffer when a flush occurs. This should also prevent buffer allocations from failing.
This commit is contained in:
parent
ec96b0ecdb
commit
529d867207
1 changed files with 0 additions and 3 deletions
|
|
@ -40,9 +40,6 @@ static void r300_flush(struct pipe_context* pipe,
|
|||
struct r300_atom *atom;
|
||||
struct r300_fence **rfence = (struct r300_fence**)fence;
|
||||
|
||||
u_upload_flush(r300->upload_vb);
|
||||
u_upload_flush(r300->upload_ib);
|
||||
|
||||
if (r300->draw && !r300->draw_vbo_locked)
|
||||
r300_draw_flush_vbuf(r300);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue