nv50/ir/nir: assert on unknown alu ops
authorKarol Herbst <kherbst@redhat.com>
Sat, 14 Dec 2019 18:21:11 +0000 (19:21 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 18:11:42 +0000 (18:11 +0000)
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Pierre Moreau <dev@pmoreau.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6367>

src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp

index 1b4e11f3d4f8e8089632f2f24888fd358b61bdb2..b776d70940e54141b9790cc46d5e96a5ff891b3f 100644 (file)
@@ -2813,6 +2813,7 @@ Converter::visit(nir_alu_instr *insn)
    }
    default:
       ERROR("unknown nir_op %s\n", info.name);
+      assert(false);
       return false;
    }