From c83d6ffa3222b52219406cb6cb4e05232d6fe054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tapani=20P=C3=A4lli?= Date: Wed, 21 Oct 2020 08:43:25 +0300 Subject: [PATCH] gallivm/nir: handle nir_op_flt in lp_build_nir_llvm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3663 Signed-off-by: Tapani Pälli Reviewed-by: Marek Olšák Reviewed-by: Dave Airlie Cc: mesa-stable Part-of: --- src/gallium/auxiliary/gallivm/lp_bld_nir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.c b/src/gallium/auxiliary/gallivm/lp_bld_nir.c index 3ed0dac798a..2980227ebd7 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.c @@ -585,6 +585,7 @@ static LLVMValueRef do_alu_action(struct lp_build_nir_context *bld_base, case nir_op_flog2: result = lp_build_log2_safe(&bld_base->base, src[0]); break; + case nir_op_flt: case nir_op_flt32: result = fcmp32(bld_base, PIPE_FUNC_LESS, src_bit_size[0], src); break;