nv50/ir: nir_op_b2i8 and nir_op_b2i16
authorYusuf Khan <yusisamerican@gmail.com>
Sun, 9 Oct 2022 00:39:01 +0000 (19:39 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Oct 2022 02:16:24 +0000 (02:16 +0000)
Signed-off-by: Yusuf Khan <yusisamerican@gmail.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19256>

src/nouveau/codegen/nv50_ir_from_nir.cpp

index 82a4095..0ba00ee 100644 (file)
@@ -2929,6 +2929,8 @@ Converter::visit(nir_alu_instr *insn)
       mkCmp(OP_SET, cc, TYPE_U32, newDefs[0], sTypes[0], getSrc(&insn->src[0]), src1);
       break;
    }
+   case nir_op_b2i8:
+   case nir_op_b2i16:
    case nir_op_b2i32: {
       DEFAULT_CHECKS;
       LValues &newDefs = convert(&insn->dest);