diff options
author | Gurchetan Singh <[email protected]> | 2019-01-11 17:29:49 -0800 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2019-02-15 11:19:04 +0100 |
commit | 5b6a2ae987d6d6895d80ce61292e2025cacb5125 (patch) | |
tree | b2cbf9c3caa8bdc2eef751c1a77fcb1466500beb /src/gallium/drivers/virgl/virgl_streamout.c | |
parent | 1d294ad264dc85e716bec5b6d0286cc3e10ce224 (diff) |
virgl: use virgl_resource_dirty helper
Reviewed-by: Gert Wollny <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_streamout.c')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_streamout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_streamout.c b/src/gallium/drivers/virgl/virgl_streamout.c index a3465e53233..a467a6a3d02 100644 --- a/src/gallium/drivers/virgl/virgl_streamout.c +++ b/src/gallium/drivers/virgl/virgl_streamout.c @@ -48,7 +48,7 @@ static struct pipe_stream_output_target *virgl_create_so_target( t->base.buffer_offset = buffer_offset; t->base.buffer_size = buffer_size; t->handle = handle; - res->clean[0] = FALSE; + virgl_resource_dirty(res, 0); virgl_encoder_create_so_target(vctx, handle, res, buffer_offset, buffer_size); return &t->base; } |