zink: set lower_uadd_carry in nir options
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 26 Jun 2020 23:07:20 +0000 (19:07 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 29 Jun 2020 20:03:51 +0000 (16:03 -0400)
fixes a bunch of mulextended piglit tests

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5685>

src/gallium/drivers/zink/zink_compiler.c

index 3dbae2fc5c17bdc15b71954b71a8454df85098e6..9761b8e18058d53f3890ab6a9b600bf9bb403f25 100644 (file)
@@ -94,6 +94,7 @@ static const struct nir_shader_compiler_options nir_options = {
    .lower_extract_word = true,
    .lower_mul_high = true,
    .lower_rotate = true,
+   .lower_uadd_carry = true,
 };
 
 const void *