radv: enable lower_mul_2x32_64
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 6 Mar 2019 21:35:31 +0000 (22:35 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 6 Mar 2019 21:41:20 +0000 (22:41 +0100)
Fixes: 58bcebd987b ("spirv: Allow [i/u]mulExtended to use new nir opcode")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_shader.c

index 1dcb060624611f6e0c354cf0cf06b86cf00855d1..bd045a0b92fb3382d2e343f339565ec92820535c 100644 (file)
@@ -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
 };