diff options
author | Marek Olšák <[email protected]> | 2014-09-18 21:40:02 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-09-24 14:48:02 +0200 |
commit | 711623f7c8113d43f2d54ebfe5cbed3d406a3c79 (patch) | |
tree | d55708e2881735a1ac3f3374aaaa5ea45de0987c /src/gallium/drivers/radeonsi | |
parent | 2833dc4e4596948b2669a0a7261ba9338395835c (diff) |
radeonsi: release GS rings at context destruction
Cc: 10.2 10.3 <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-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 4f9c8768152..2cce5cc28e4 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -38,6 +38,8 @@ static void si_destroy_context(struct pipe_context *context) si_release_all_descriptors(sctx); + pipe_resource_reference(&sctx->esgs_ring, NULL); + pipe_resource_reference(&sctx->gsvs_ring, NULL); pipe_resource_reference(&sctx->null_const_buf.buffer, NULL); r600_resource_reference(&sctx->border_color_table, NULL); |