virgl: don't mark unclean after a flush

The guest memory is still clean until host GL touches it,
which we should track elsewhere.

Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
This commit is contained in:
Gurchetan Singh 2019-01-11 17:49:59 -08:00 committed by Gert Wollny
parent 5b6a2ae987
commit c19aedcf1a
1 changed files with 0 additions and 1 deletions

View File

@ -120,7 +120,6 @@ static void virgl_buffer_transfer_flush_region(struct pipe_context *ctx,
* We'll end up flushing 25 --> 70.
*/
util_range_add(&trans->range, box->x, box->x + box->width);
vbuf->clean[0] = FALSE;
}
static const struct u_resource_vtbl virgl_buffer_vtbl =