diff options
author | Eric Engestrom <[email protected]> | 2019-03-07 15:09:42 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-03-08 16:24:06 +0000 |
commit | 598f10eacca1488e580779fc9b6110ed9cba1f13 (patch) | |
tree | 7d88cae47df0411ac95e3f61bc816165c9103b66 /src/gallium/drivers/r600/evergreen_compute.c | |
parent | 85ee157283c667372baf7c03259cba08853f0067 (diff) |
r600: cast pointer to expected type
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-By: Gert Wollny <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_compute.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_compute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index 9085be4e2f3..1536210c7ef 100644 --- a/src/gallium/drivers/r600/evergreen_compute.c +++ b/src/gallium/drivers/r600/evergreen_compute.c @@ -464,8 +464,8 @@ static void evergreen_delete_compute_state(struct pipe_context *ctx, void *state } else { #ifdef HAVE_OPENCL radeon_shader_binary_clean(&shader->binary); - pipe_resource_reference(&shader->code_bo, NULL); - pipe_resource_reference(&shader->kernel_param, NULL); + pipe_resource_reference((struct pipe_resource**)&shader->code_bo, NULL); + pipe_resource_reference((struct pipe_resource**)&shader->kernel_param, NULL); #endif r600_destroy_shader(&shader->bc); } |