From: Eric Anholt Date: Wed, 27 Nov 2019 18:43:54 +0000 (-0800) Subject: turnip: Lower usub_borrow. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f58ef5d4814f3d12d319daedb270d89aaa62bdeb;p=mesa.git turnip: Lower usub_borrow. Fixes dEQP-VK.glsl.builtin.function.integer.usubborrow.uvec2_mediump_fragment. Reviewed-by: Jonathan Marek Tested-by: Marge Bot Part-of: --- 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,