mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 04:04:23 +08: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>
This commit is contained in:
parent
d27b135b3a
commit
31883b1f5e
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user