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>
This commit is contained in:
Tapani Pälli 2023-09-25 15:15:05 +03:00 committed by Marge Bot
parent d27b135b3a
commit 31883b1f5e

View File

@ -3692,6 +3692,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 | DEBUG_BATCH_STATS)) {