Mesa (master): zink: set lower_mul_high and lower_rotate in ntv compiler options

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 26 14:21:27 UTC 2020


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

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Jun 22 10:33:32 2020 -0400

zink: set lower_mul_high and lower_rotate in ntv compiler options

we don't implement these

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

---

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

diff --git a/src/gallium/drivers/zink/zink_compiler.c b/src/gallium/drivers/zink/zink_compiler.c
index a4e79d1ed26..3dbae2fc5c1 100644
--- a/src/gallium/drivers/zink/zink_compiler.c
+++ b/src/gallium/drivers/zink/zink_compiler.c
@@ -92,6 +92,8 @@ static const struct nir_shader_compiler_options nir_options = {
    .lower_fsat = true,
    .lower_extract_byte = true,
    .lower_extract_word = true,
+   .lower_mul_high = true,
+   .lower_rotate = true,
 };
 
 const void *



More information about the mesa-commit mailing list