From: Jason Ekstrand Date: Mon, 8 Jun 2015 20:52:34 +0000 (-0700) Subject: vk/pipeline: Don't destroy the program stream X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66a4dab89ad0c5788a4bfa23b1c91f7ed977db06;p=mesa.git vk/pipeline: Don't destroy the program stream It's freed in compiler.cpp and we don't want to free it twice. --- diff --git a/src/vulkan/pipeline.c b/src/vulkan/pipeline.c index 1a193d91e09..f5f43d5a76e 100644 --- a/src/vulkan/pipeline.c +++ b/src/vulkan/pipeline.c @@ -379,7 +379,6 @@ anv_pipeline_destroy(struct anv_device *device, anv_compiler_free(pipeline); anv_reloc_list_finish(&pipeline->batch.relocs, pipeline->device); - anv_state_stream_finish(&pipeline->program_stream); anv_state_pool_free(&device->dynamic_state_pool, pipeline->blend_state); anv_device_free(pipeline->device, pipeline); }