From: Karol Herbst Date: Sat, 14 Dec 2019 18:21:11 +0000 (+0100) Subject: nv50/ir/nir: assert on unknown alu ops X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38e904f92938ae9ced208801491e228e8a9fe87a;p=mesa.git nv50/ir/nir: assert on unknown alu ops Signed-off-by: Karol Herbst Reviewed-by: Pierre Moreau Part-of: --- diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index 1b4e11f3d4f..b776d70940e 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp @@ -2813,6 +2813,7 @@ Converter::visit(nir_alu_instr *insn) } default: ERROR("unknown nir_op %s\n", info.name); + assert(false); return false; }