diff options
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_streamout.c')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_streamout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_streamout.c b/src/gallium/drivers/virgl/virgl_streamout.c index 8fb7f26c868..edd5bc58f88 100644 --- a/src/gallium/drivers/virgl/virgl_streamout.c +++ b/src/gallium/drivers/virgl/virgl_streamout.c @@ -49,6 +49,7 @@ static struct pipe_stream_output_target *virgl_create_so_target( t->base.buffer_size = buffer_size; t->handle = handle; + res->bind_history |= PIPE_BIND_STREAM_OUTPUT; util_range_add(&res->valid_buffer_range, buffer_offset, buffer_offset + buffer_size); virgl_resource_dirty(res, 0); |