aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-11-27 10:43:54 -0800
committerMarge Bot <[email protected]>2019-12-16 04:52:09 +0000
commitf58ef5d4814f3d12d319daedb270d89aaa62bdeb (patch)
tree2908f7bfa225821da9c52cd117891dfb8963af83 /src
parentc06ba8358958279cfad6cdf2a52d9824a818f0b8 (diff)
turnip: Lower usub_borrow.
Fixes dEQP-VK.glsl.builtin.function.integer.usubborrow.uvec2_mediump_fragment. Reviewed-by: Jonathan Marek <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2986> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2986>
Diffstat (limited to 'src')
-rw-r--r--src/freedreno/ir3/ir3_nir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c
index 5af50c45b9c..17db07616e8 100644
--- a/src/freedreno/ir3/ir3_nir.c
+++ b/src/freedreno/ir3/ir3_nir.c
@@ -46,6 +46,7 @@ static const nir_shader_compiler_options options = {
.lower_isign = true,
.lower_ldexp = true,
.lower_uadd_carry = true,
+ .lower_usub_borrow = true,
.lower_mul_high = true,
.fuse_ffma = true,
.vertex_id_zero_based = true,
@@ -74,6 +75,7 @@ static const nir_shader_compiler_options options_a6xx = {
.lower_isign = true,
.lower_ldexp = true,
.lower_uadd_carry = true,
+ .lower_usub_borrow = true,
.lower_mul_high = true,
.fuse_ffma = true,
.vertex_id_zero_based = false,