Commit 598f10ea authored by Eric Engestrom's avatar Eric Engestrom Committed by Eric Engestrom

r600: cast pointer to expected type

Signed-off-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
Reviewed-By: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
parent 85ee1572
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment