diff options
author | Roland Scheidegger <[email protected]> | 2017-01-23 18:04:12 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2017-01-24 19:12:46 +0100 |
commit | 25208949d7293aa060a3416f8cf3cdb3ca1fbfdd (patch) | |
tree | e186ea48a06e77eaf065d81990ba5f8b4fc62532 /src/gallium | |
parent | 3b575a955c1d84744a65160e2c45f0ce407effd8 (diff) |
gallivm: (trivial) fix ddiv cpu implementation
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).
Cc: 17.0 <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c index 937170fec1f..e78cdb011ab 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; |