v3dv: remove redundant free of default pipeline attributes BO

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7683>
This commit is contained in:
Iago Toral Quiroga
2020-11-19 10:45:49 +01:00
parent 54e8138bbc
commit 070dccdad9
-3
View File
@@ -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);
}