mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
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:
parent
1ee9eb8f82
commit
caf982218d
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue