anv: sweep the NIR fp64 shader before keeping it on the device

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Allen Ballway <ballway@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39341>
This commit is contained in:
Lionel Landwerlin 2026-01-16 09:58:28 +02:00 committed by Marge Bot
parent 19997bc245
commit beb0ffc069

View file

@ -365,6 +365,8 @@ anv_load_fp64_shader(struct anv_device *device)
NIR_PASS(_, nir, nir_lower_returns);
NIR_PASS(_, nir, nir_inline_functions);
nir_sweep(nir);
anv_device_upload_nir(device, device->internal_cache,
nir, blake3);