projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1e8fcc
)
eg/compute: Drop reference to kernel_param bo in destructor
author
Jan Vesely
<jan.vesely@rutgers.edu>
Tue, 8 May 2018 02:54:09 +0000
(22:54 -0400)
committer
Jan Vesely
<jan.vesely@rutgers.edu>
Tue, 8 May 2018 13:02:38 +0000
(09:02 -0400)
CC: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/evergreen_compute.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/evergreen_compute.c
b/src/gallium/drivers/r600/evergreen_compute.c
index 21e965ede68c41e3cb7a434fd4a3bfe756459d49..bd3d8934b3cc026f102cbccedcc240641e954527 100644
(file)
--- a/
src/gallium/drivers/r600/evergreen_compute.c
+++ b/
src/gallium/drivers/r600/evergreen_compute.c
@@
-462,6
+462,7
@@
static void evergreen_delete_compute_state(struct pipe_context *ctx, void *state
#ifdef HAVE_OPENCL
radeon_shader_binary_clean(&shader->binary);
pipe_resource_reference(&shader->code_bo, NULL);
+ pipe_resource_reference(&shader->kernel_param, NULL);
#endif
r600_destroy_shader(&shader->bc);
}