Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24796>
return OP_NOT;
case nir_op_ior:
return OP_OR;
- case nir_op_fpow:
- return OP_POW;
case nir_op_frcp:
return OP_RCP;
case nir_op_frsq:
case nir_op_inot:
case nir_op_ior:
case nir_op_pack_64_2x32_split:
- case nir_op_fpow:
case nir_op_frcp:
case nir_op_frem:
case nir_op_irem:
op.lower_flrp16 = (chipset >= NVISA_GV100_CHIPSET);
op.lower_flrp32 = true;
op.lower_flrp64 = true;
- op.lower_fpow = false; // TODO: nir's lowering is broken, or we could use it
+ op.lower_fpow = true;
op.lower_fsat = false;
op.lower_fsqrt = false; // TODO: only before gm200
op.lower_sincos = false;