diff options
author | Marek Olšák <marek.olsak@amd.com> | 2015-10-09 00:49:13 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2015-10-17 21:40:03 +0200 |
commit | c4f086f3999894c9b6fe2de466add3bb09c8b354 (patch) | |
tree | 5c4bf91bdbb265c7605a6e6ddbaee5fa8d1eaec8 /src/gallium/drivers/radeonsi/si_shader.c | |
parent | 4f4f477d6dd8ba5e0d37dbba50d28c1a85accf39 (diff) | |
download | external_mesa3d-c4f086f3999894c9b6fe2de466add3bb09c8b354.zip external_mesa3d-c4f086f3999894c9b6fe2de466add3bb09c8b354.tar.gz external_mesa3d-c4f086f3999894c9b6fe2de466add3bb09c8b354.tar.bz2 |
radeonsi: remove an unused ctx parameter in si_shader_destroy
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index fa15290..085794b 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -4191,10 +4191,10 @@ out: return r; } -void si_shader_destroy(struct pipe_context *ctx, struct si_shader *shader) +void si_shader_destroy(struct si_shader *shader) { if (shader->gs_copy_shader) - si_shader_destroy(ctx, shader->gs_copy_shader); + si_shader_destroy(shader->gs_copy_shader); if (shader->scratch_bo) r600_resource_reference(&shader->scratch_bo, NULL); |