diff options
author | Jan Vesely <[email protected]> | 2018-05-07 22:54:09 -0400 |
---|---|---|
committer | Jan Vesely <[email protected]> | 2018-05-08 09:02:38 -0400 |
commit | a9e4be9212868f619ac492aaf86b0aa68d4395c4 (patch) | |
tree | 8389eb897110e072e3beb21b4167a93c8f786bc7 /src/gallium/drivers | |
parent | a1e8fcce3eafa59228bb9bb50179c04f150ca9ca (diff) |
eg/compute: Drop reference to kernel_param bo in destructor
CC: <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_compute.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index 21e965ede68..bd3d8934b3c 100644 --- 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); } |