summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-06-05 17:14:57 -0700
committerJason Ekstrand <[email protected]>2015-06-05 17:26:26 -0700
commitc2eeab305b0dd07969a0d1ba66451f5a3d07dcfe (patch)
tree4adcb440a992839034ce10ecf718dd4631c90ab7
parented2ca020f84213a5f0f7faf1115a0b6f545b3e62 (diff)
vk/pipeline: Actually free the program stream and dynamic pool
-rw-r--r--src/vulkan/pipeline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vulkan/pipeline.c b/src/vulkan/pipeline.c
index 6babd183f1f..2e965245789 100644
--- a/src/vulkan/pipeline.c
+++ b/src/vulkan/pipeline.c
@@ -379,6 +379,8 @@ 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);
}