Mesa (main): zink: set nir_shader_compiler_options::has_txs

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 7 22:09:12 UTC 2022


Module: Mesa
Branch: main
Commit: dff88132464416b40ba2963f4be1f06092e19bc8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dff88132464416b40ba2963f4be1f06092e19bc8

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Apr  7 12:04:57 2022 -0400

zink: set nir_shader_compiler_options::has_txs

Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15804>

---

 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 cf8a5c2eef4..7cf7f02746b 100644
--- a/src/gallium/drivers/zink/zink_compiler.c
+++ b/src/gallium/drivers/zink/zink_compiler.c
@@ -355,6 +355,7 @@ zink_screen_init_compiler(struct zink_screen *screen)
       .lower_uniforms_to_ubo = true,
       .has_fsub = true,
       .has_isub = true,
+      .has_txs = true,
       .lower_mul_2x32_64 = true,
       .support_16bit_alu = true, /* not quite what it sounds like */
    };



More information about the mesa-commit mailing list