turnip: Lower usub_borrow.

Fixes dEQP-VK.glsl.builtin.function.integer.usubborrow.uvec2_mediump_fragment.

Reviewed-by: Jonathan Marek <jonathan@marek.ca>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2986>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2986>
This commit is contained in:
Eric Anholt
2019-11-27 10:43:54 -08:00
committed by Marge Bot
parent c06ba83589
commit f58ef5d481
+2
View File
@@ -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,