Module: Mesa Branch: staging/20.2 Commit: 2f09ff3fc8dccb70f17867f0dd8cde19b19b7ec1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f09ff3fc8dccb70f17867f0dd8cde19b19b7ec1
Author: Tapani Pälli <[email protected]> Date: Wed Oct 21 08:43:25 2020 +0300 gallivm/nir: handle nir_op_flt in lp_build_nir_llvm Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3663 Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Dave Airlie <[email protected]> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7248> (cherry picked from commit c83d6ffa3222b52219406cb6cb4e05232d6fe054) --- .pick_status.json | 2 +- src/gallium/auxiliary/gallivm/lp_bld_nir.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index 7ef1fe2332a..ade1d384c4f 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1363,7 +1363,7 @@ "description": "gallivm/nir: handle nir_op_flt in lp_build_nir_llvm", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": null }, diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.c b/src/gallium/auxiliary/gallivm/lp_bld_nir.c index d2336c17365..e21c2c35de0 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.c @@ -555,6 +555,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; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
