diff options
author | Dave Airlie <[email protected]> | 2019-12-12 15:33:51 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-12-27 13:26:33 +1000 |
commit | 31e0e8a51b06701b391a3abab1869d613fae8340 (patch) | |
tree | ad269f737fa07d96ca7c13952bdf7e00e5eef319 /src/gallium/drivers | |
parent | 0a73eafdbeb68bafa8f0d26da4490358420fe40c (diff) |
llvmpipe: lower hadd/add_sat
Fixes some CL piglits.
Acked-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |