summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Lehmann <dadschoorse@gmail.com>2021-11-19 22:58:41 +0100
committerMarge Bot <emma+marge@anholt.net>2022-06-01 17:09:25 +0000
commitcc3f03b757af81b5cbdc47d5f7fe6ad8ee2037ae (patch)
treeb2efe97debcc5a0b8db16b2738ffc8aec6ac2f32
parentbfc25d6ec9f34329792d74934cc588e9ad0563c7 (diff)
radv: Lower mul_32x16.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13895>
-rw-r--r--src/amd/vulkan/radv_shader.c1
1 files changed, 1 insertions, 0 deletions
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,