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 1a193d91e09196e8124b4ec444e3532d1930b8fc..f5f43d5a76e00c6b8414de38ccff35f31214a121 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);
 }