From 38e904f92938ae9ced208801491e228e8a9fe87a Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Sat, 14 Dec 2019 19:21:11 +0100 Subject: [PATCH] nv50/ir/nir: assert on unknown alu ops Signed-off-by: Karol Herbst Reviewed-by: Pierre Moreau Part-of: --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2