projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8684ffc
)
llvmpipe: destroy setup variants on context destruction
author
Roland Scheidegger
<sroland@vmware.com>
Mon, 18 Jun 2012 18:37:34 +0000
(20:37 +0200)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 16 Jul 2012 18:00:54 +0000
(19:00 +0100)
lp_delete_setup_variants() used to be called in garbage collection,
but this no longer exists hence the setup shaders never got freed.
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_context.c
b/src/gallium/drivers/llvmpipe/lp_context.c
index
7f92a5f
..
9e4c7d6
100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_context.c
+++ b/
src/gallium/drivers/llvmpipe/lp_context.c
@@
-126,6
+126,8
@@
static void llvmpipe_destroy( struct pipe_context *pipe )
pipe_resource_reference(&llvmpipe->vertex_buffer[i].buffer, NULL);
}
+ lp_delete_setup_variants(llvmpipe);
+
gallivm_destroy(llvmpipe->gallivm);
align_free( llvmpipe );