mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
anv: fix a leak of fp64_nir shader
Fixes:8c4c4c3ee1("anv: Add softtp64 workaround") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9846 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25372> (cherry picked from commit31883b1f5e)
This commit is contained in:
parent
254ba0ecd3
commit
8d227f1420
2 changed files with 3 additions and 1 deletions
|
|
@ -418,7 +418,7 @@
|
|||
"description": "anv: fix a leak of fp64_nir shader",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "8c4c4c3ee1a24b73fa29f30a05e873e9e13dddc7"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -3552,6 +3552,8 @@ void anv_DestroyDevice(
|
|||
anv_queue_finish(&device->queues[i]);
|
||||
vk_free(&device->vk.alloc, device->queues);
|
||||
|
||||
ralloc_free(device->fp64_nir);
|
||||
|
||||
anv_device_destroy_context_or_vm(device);
|
||||
|
||||
if (INTEL_DEBUG(DEBUG_BATCH)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue