diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index c6918721f61..fde06fcd6a2 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -2813,6 +2813,7 @@ static void si_bind_vertex_elements(struct pipe_context *ctx, void *state) struct si_vertex_element *v = (struct si_vertex_element*)state; sctx->vertex_elements = v; + sctx->vertex_buffers_dirty = true; } static void si_delete_vertex_element(struct pipe_context *ctx, void *state) @@ -2848,6 +2849,7 @@ static void si_set_vertex_buffers(struct pipe_context *ctx, pipe_resource_reference(&dst[i].buffer, NULL); } } + sctx->vertex_buffers_dirty = true; } static void si_set_index_buffer(struct pipe_context *ctx, |