Mesa (main): radv: Lower mul_32x16.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 1 17:59:53 UTC 2022


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

Author: Georg Lehmann <dadschoorse at gmail.com>
Date:   Fri Nov 19 22:58:41 2021 +0100

radv: Lower mul_32x16.

Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13895>

---

 src/amd/vulkan/radv_shader.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
index 3125e250da2..e57e9faaa12 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -87,6 +87,7 @@ get_nir_options_for_stage(struct radv_physical_device *device, gl_shader_stage s
       .lower_mul_2x32_64 = true,
       .lower_rotate = true,
       .lower_iadd_sat = device->rad_info.gfx_level <= GFX8,
+      .lower_mul_32x16 = true,
       .has_fsub = true,
       .has_isub = true,
       .has_sdot_4x8 = device->rad_info.has_accelerated_dot_product,



More information about the mesa-commit mailing list