From 4e6667ea878660c30659e397513f5070a38ce4ef Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Fri, 19 Nov 2021 14:56:07 +0100 Subject: [PATCH] radv: Lower hadd/hradd. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Georg Lehmann Reviewed-by: Timur Kristóf Part-of: --- src/amd/vulkan/radv_shader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index e57e9faaa12..41120a868fd 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -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,