mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
eg/compute: Drop reference to kernel_param bo in destructor
CC: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
(cherry picked from commit a9e4be9212)
This commit is contained in:
parent
795fffc2df
commit
3cdbd79dcc
1 changed files with 1 additions and 0 deletions
|
|
@ -462,6 +462,7 @@ static void evergreen_delete_compute_state(struct pipe_context *ctx, void *state
|
||||||
#ifdef HAVE_OPENCL
|
#ifdef HAVE_OPENCL
|
||||||
radeon_shader_binary_clean(&shader->binary);
|
radeon_shader_binary_clean(&shader->binary);
|
||||||
pipe_resource_reference(&shader->code_bo, NULL);
|
pipe_resource_reference(&shader->code_bo, NULL);
|
||||||
|
pipe_resource_reference(&shader->kernel_param, NULL);
|
||||||
#endif
|
#endif
|
||||||
r600_destroy_shader(&shader->bc);
|
r600_destroy_shader(&shader->bc);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue