radv: Lower hadd/hradd.

Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13895>
This commit is contained in:
Georg Lehmann 2021-11-19 14:56:07 +01:00 committed by Marge Bot
parent cc3f03b757
commit 4e6667ea87

View file

@ -87,6 +87,7 @@ get_nir_options_for_stage(struct radv_physical_device *device, gl_shader_stage s
.lower_mul_2x32_64 = true,
.lower_rotate = true,
.lower_iadd_sat = device->rad_info.gfx_level <= GFX8,
.lower_hadd = true,
.lower_mul_32x16 = true,
.has_fsub = true,
.has_isub = true,