From: Marek Olšák Date: Thu, 18 Sep 2014 19:40:02 +0000 (+0200) Subject: radeonsi: release GS rings at context destruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=711623f7c8113d43f2d54ebfe5cbed3d406a3c79;p=mesa.git radeonsi: release GS rings at context destruction Cc: 10.2 10.3 Reviewed-by: Michel Dänzer --- 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);