summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-03-06 22:35:31 +0100
committerSamuel Pitoiset <[email protected]>2019-03-06 22:41:20 +0100
commit71ffa00fc66110a4062dc935d3548ebd0eb12f9e (patch)
tree2d04abca7c29fe7200bf827650bb915a665075b8 /src/amd
parent9ab1b1d0227499b7ff6a61fdebe75693212a67f5 (diff)
radv: enable lower_mul_2x32_64
Fixes: 58bcebd987b ("spirv: Allow [i/u]mulExtended to use new nir opcode") Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd')
-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 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
};