summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-08-19 05:14:16 +1000
committerDave Airlie <airlied@redhat.com>2020-08-19 10:16:46 +1000
commit95d611e036a2d79d33c833d30ce38e842443d904 (patch)
tree81a071b793be9998c01e55585c5cbd3601ef0543 /src/gallium/drivers/llvmpipe
parent25ba200985dc20270631737d11e4b985c6874f10 (diff)
llvmpipe: lower mul 2x32_64
Fixes: dEQP-VK.glsl.builtin.function.integer.umulextended* dEQP-VK.glsl.builtin.function.integer.imulextended* Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6339>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index 4fa3436d0ab..644738392c4 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -566,6 +566,7 @@ static const struct nir_shader_compiler_options gallivm_nir_options = {
.lower_rotate = true,
.lower_uadd_carry = true,
.lower_usub_borrow = true,
+ .lower_mul_2x32_64 = true,
.lower_ifind_msb = true,
.max_unroll_iterations = 32,
.use_interpolated_input_intrinsics = true,