Mesa (master): radv: enable lower_mul_2x32_64

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Mar 6 21:47:31 UTC 2019


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

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Mar  6 22:35:31 2019 +0100

radv: enable lower_mul_2x32_64

Fixes: 58bcebd987b ("spirv: Allow [i/u]mulExtended to use new nir opcode")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>

---

 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 1dcb0606246..bd045a0b92f 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -71,6 +71,7 @@ static const struct nir_shader_compiler_options nir_options = {
 	.lower_extract_word = true,
 	.lower_ffma = true,
 	.lower_fpow = true,
+	.lower_mul_2x32_64 = true,
 	.max_unroll_iterations = 32
 };
 




More information about the mesa-commit mailing list