From: Dave Airlie Date: Thu, 12 Dec 2019 05:33:51 +0000 (+1000) Subject: llvmpipe: lower hadd/add_sat X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31e0e8a51b06701b391a3abab1869d613fae8340;p=mesa.git llvmpipe: lower hadd/add_sat Fixes some CL piglits. Acked-by: Roland Scheidegger --- diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 55181e7115b..2a665c10fd3 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -599,6 +599,8 @@ static const struct nir_shader_compiler_options gallivm_nir_options = { .lower_sub = true, .lower_ffma = true, .lower_fmod = true, + .lower_hadd = true, + .lower_add_sat = true, .lower_pack_snorm_2x16 = true, .lower_pack_snorm_4x8 = true, .lower_pack_unorm_2x16 = true,