diff options
author | Marek Olšák <[email protected]> | 2015-02-22 17:25:37 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-07-23 00:59:32 +0200 |
commit | b6f4fdf6a9238bdb9e0589eafb22396da347b792 (patch) | |
tree | e13811530914ca598801076e6b1bbfba4bf81e3a /src/gallium/drivers/radeonsi/si_pipe.c | |
parent | ebfd9e007191d582e22d252e9ff9b93fe4f8c593 (diff) |
radeonsi: set up a ring buffer for tessellation factors
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 25dc4e7a96d..8678fe6260b 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -42,6 +42,7 @@ static void si_destroy_context(struct pipe_context *context) pipe_resource_reference(&sctx->esgs_ring, NULL); pipe_resource_reference(&sctx->gsvs_ring, NULL); + pipe_resource_reference(&sctx->tf_ring, NULL); pipe_resource_reference(&sctx->null_const_buf.buffer, NULL); r600_resource_reference(&sctx->border_color_table, NULL); r600_resource_reference(&sctx->scratch_buffer, NULL); @@ -49,6 +50,7 @@ static void si_destroy_context(struct pipe_context *context) si_pm4_free_state(sctx, sctx->init_config, ~0); si_pm4_delete_state(sctx, gs_rings, sctx->gs_rings); + si_pm4_delete_state(sctx, tf_ring, sctx->tf_state); for (i = 0; i < Elements(sctx->vgt_shader_config); i++) si_pm4_delete_state(sctx, vgt_shader_config, sctx->vgt_shader_config[i]); |