zink: set nir_shader_compiler_options::has_txs
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 7 Apr 2022 16:04:57 +0000 (12:04 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 7 Apr 2022 21:37:58 +0000 (21:37 +0000)
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15804>

src/gallium/drivers/zink/zink_compiler.c

index cf8a5c2..7cf7f02 100644 (file)
@@ -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 */
    };