aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-12-12 15:33:51 +1000
committerDave Airlie <[email protected]>2019-12-27 13:26:33 +1000
commit31e0e8a51b06701b391a3abab1869d613fae8340 (patch)
treead269f737fa07d96ca7c13952bdf7e00e5eef319 /src/gallium/drivers/llvmpipe
parent0a73eafdbeb68bafa8f0d26da4490358420fe40c (diff)
llvmpipe: lower hadd/add_sat
Fixes some CL piglits. Acked-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c2
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,