brw/lower_storage_image: use f2f32 instead of unpack_half

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39511>
This commit is contained in:
Georg Lehmann 2026-01-24 18:01:07 +01:00 committed by Marge Bot
parent 1ee9eb8f82
commit caf982218d

View file

@ -109,7 +109,7 @@ convert_color_for_load(nir_builder *b, const struct intel_device_info *devinfo,
case ISL_SFLOAT:
if (image.bits[0] == 16)
color = nir_unpack_half_2x16_split_x(b, color);
color = nir_f2f32(b, nir_u2u16(b, color));
break;
case ISL_UINT: