From 63042af933eb97930077ad57b047ffa7abb0f6e0 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 28 Feb 2013 17:27:36 +0100 Subject: r600g: atomize vertex shader Reviewed-by: Jerome Glisse --- src/gallium/drivers/r600/r600_shader.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/r600/r600_shader.c') diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 7ecab7bbf4f..621db79095d 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -190,6 +190,7 @@ void r600_pipe_shader_destroy(struct pipe_context *ctx, struct r600_pipe_shader { pipe_resource_reference((struct pipe_resource**)&shader->bo, NULL); r600_bytecode_clear(&shader->shader.bc); + r600_release_command_buffer(&shader->command_buffer); } /* -- cgit v1.2.3