Mesa (master): zink: set lower_mul_2x32_64 when 64bit int support is available
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jan 25 16:58:31 UTC 2021
Module: Mesa
Branch: master
Commit: b7fe85e94992131ce1a5a4baea0dfbe240a7505e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7fe85e94992131ce1a5a4baea0dfbe240a7505e
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Sat Jan 23 16:28:01 2021 -0500
zink: set lower_mul_2x32_64 when 64bit int support is available
started hitting umul_2x32_64 recently on ANV
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8674>
---
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 040e9c8339b..12823382b61 100644
--- a/src/gallium/drivers/zink/zink_compiler.c
+++ b/src/gallium/drivers/zink/zink_compiler.c
@@ -226,6 +226,7 @@ zink_screen_init_compiler(struct zink_screen *screen)
.lower_doubles_options = ~nir_lower_fp64_full_software,
.has_fsub = true,
.has_isub = true,
+ .lower_mul_2x32_64 = true,
};
screen->nir_options = default_options;
More information about the mesa-commit
mailing list