Mesa (main): v3dv: always free pipeline stages after compiling
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jul 12 07:56:02 UTC 2021
Module: Mesa
Branch: main
Commit: d448dafcd473accce0812a3a5a22aa72a709884f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d448dafcd473accce0812a3a5a22aa72a709884f
Author: Iago Toral Quiroga <itoral at igalia.com>
Date: Thu Jul 1 14:05:55 2021 +0200
v3dv: always free pipeline stages after compiling
We were not freeing this when the pipeline was loaded from the cache.
Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11783>
---
src/broadcom/vulkan/v3dv_pipeline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/broadcom/vulkan/v3dv_pipeline.c b/src/broadcom/vulkan/v3dv_pipeline.c
index 7be1eb9d80d..07cdf26d278 100644
--- a/src/broadcom/vulkan/v3dv_pipeline.c
+++ b/src/broadcom/vulkan/v3dv_pipeline.c
@@ -2139,12 +2139,12 @@ pipeline_compile_graphics(struct v3dv_pipeline *pipeline,
v3dv_pipeline_cache_upload_pipeline(pipeline, cache);
+ success:
/* As we got the variants in pipeline->shared_data, after compiling we
* don't need the pipeline_stages
*/
pipeline_free_stages(device, pipeline, pAllocator);
- success:
pipeline_check_spill_size(pipeline);
/* FIXME: values below are default when non-GS is available. Would need to
More information about the mesa-commit
mailing list