summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_streamout.c
diff options
context:
space:
mode:
authorGurchetan Singh <[email protected]>2019-01-11 15:37:15 -0800
committerGert Wollny <[email protected]>2019-02-15 11:19:04 +0100
commit1d294ad264dc85e716bec5b6d0286cc3e10ce224 (patch)
tree1477788c4d9158221324df4e2961e9ceb43dc515 /src/gallium/drivers/virgl/virgl_streamout.c
parentacc52fff2061dada900f088bc82ce6c9bf747ea6 (diff)
virgl: add ability to do finer grain dirty tracking
There are levels to cleanliness. 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.c2
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 0fc3af67959..a3465e53233 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 = FALSE;
+ res->clean[0] = FALSE;
virgl_encoder_create_so_target(vctx, handle, res, buffer_offset, buffer_size);
return &t->base;
}