vk/pipeline: Don't destroy the program stream
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 8 Jun 2015 20:52:34 +0000 (13:52 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 8 Jun 2015 20:53:19 +0000 (13:53 -0700)
It's freed in compiler.cpp and we don't want to free it twice.

src/vulkan/pipeline.c

index 1a193d9..f5f43d5 100644 (file)
@@ -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);
 }