[Mesa-dev] [PATCH 1/3] gallivm: (trivial) fix ddiv cpu implementation
Nicolai Hähnle
nhaehnle at gmail.com
Tue Jan 24 09:07:24 UTC 2017
On 23.01.2017 18:47, sroland at vmware.com wrote:
> From: Roland Scheidegger <sroland at vmware.com>
>
> we can't use the cpu implementation of fdiv, as this one uses different
> lp_build_context, which causes assertion failure.
> Just use default fdiv action (there is no fast rcp for doubles which we
> could potentially use anyway).
Thanks, and sorry about the trouble!
Cc: 17.0 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
> ---
> src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c
> index 937170f..e78cdb0 100644
> --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c
> +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c
> @@ -2624,7 +2624,6 @@ lp_set_default_actions_cpu(
> bld_base->op_actions[TGSI_OPCODE_DSLT].emit = dslt_emit_cpu;
> bld_base->op_actions[TGSI_OPCODE_DSNE].emit = dsne_emit_cpu;
>
> - bld_base->op_actions[TGSI_OPCODE_DDIV].emit = div_emit_cpu;
> bld_base->op_actions[TGSI_OPCODE_DRSQ].emit = drecip_sqrt_emit_cpu;
> bld_base->op_actions[TGSI_OPCODE_DSQRT].emit = dsqrt_emit_cpu;
>
>
More information about the mesa-dev
mailing list