Mesa (master): zink: set lower_uadd_carry in nir options

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 29 20:20:38 UTC 2020


Module: Mesa
Branch: master
Commit: 849227d70f307e741f0927a6b2d3763fe5b1827b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=849227d70f307e741f0927a6b2d3763fe5b1827b

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Jun 26 19:07:20 2020 -0400

zink: set lower_uadd_carry in nir options

fixes a bunch of mulextended piglit tests

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

---

 src/gallium/drivers/zink/zink_compiler.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/zink/zink_compiler.c b/src/gallium/drivers/zink/zink_compiler.c
index 3dbae2fc5c1..9761b8e1805 100644
--- a/src/gallium/drivers/zink/zink_compiler.c
+++ b/src/gallium/drivers/zink/zink_compiler.c
@@ -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 *



More information about the mesa-commit mailing list