Mesa (master): v3dv: remove redundant free of default pipeline attributes BO

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Nov 20 07:09:33 UTC 2020


Module: Mesa
Branch: master
Commit: 070dccdad934aa29a12e852b47a3288d29a8de9e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=070dccdad934aa29a12e852b47a3288d29a8de9e

Author: Iago Toral Quiroga <itoral at igalia.com>
Date:   Thu Nov 19 10:45:49 2020 +0100

v3dv: remove redundant free of default pipeline attributes BO

Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7683>

---

 src/broadcom/vulkan/v3dv_pipeline.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/broadcom/vulkan/v3dv_pipeline.c b/src/broadcom/vulkan/v3dv_pipeline.c
index 1c6788830df..c982a540713 100644
--- a/src/broadcom/vulkan/v3dv_pipeline.c
+++ b/src/broadcom/vulkan/v3dv_pipeline.c
@@ -177,9 +177,6 @@ v3dv_destroy_pipeline(struct v3dv_pipeline *pipeline,
       pipeline->default_attribute_values = NULL;
    }
 
-   if (pipeline->default_attribute_values)
-      v3dv_bo_free(device, pipeline->default_attribute_values);
-
    vk_object_free(&device->vk, pAllocator, pipeline);
 }
 



More information about the mesa-commit mailing list