For some reason our backend compiler doesn't have an implementation for
usubborrow, only for uaddcarry. We could add it, however, the existing
uaddcarry implementation also seems to fail some of the CTS tests,
which pass if we lower.
Fixes:
dEQP-VK.glsl.builtin.function.integer.uaddcarry.*
dEQP-VK.glsl.builtin.function.integer.usubborrow.*
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
.lower_unpack_snorm_4x8 = true,
.lower_pack_half_2x16 = true,
.lower_unpack_half_2x16 = true,
+ /* FIXME: see if we can avoid the uadd_carry and usub_borrow lowering and
+ * get the tests to pass since it might produce slightly better code.
+ */
+ .lower_uadd_carry = true,
+ .lower_usub_borrow = true,
.lower_fdiv = true,
.lower_find_lsb = true,
.lower_ffma16 = true,