summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-10-09 00:49:13 +0200
committerMarek Olšák <[email protected]>2015-10-17 21:40:03 +0200
commitc4f086f3999894c9b6fe2de466add3bb09c8b354 (patch)
tree5c4bf91bdbb265c7605a6e6ddbaee5fa8d1eaec8 /src/gallium/drivers/radeonsi/si_shader.c
parent4f4f477d6dd8ba5e0d37dbba50d28c1a85accf39 (diff)
radeonsi: remove an unused ctx parameter in si_shader_destroy
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c4
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 fa1529056b1..085794ba3b3 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);