From: Karol Herbst Date: Fri, 8 Mar 2019 13:12:00 +0000 (+0100) Subject: nv50/ir/nir: don't assert on !main X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2617c78fe298cebe85bec701c3b6a703ff3fbd60;p=mesa.git nv50/ir/nir: don't assert on !main required for OpenCL Signed-off-by: Karol Herbst Reviewed-by: Pierre Moreau --- 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 c5ccbe1d8ee..81956334c98 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp @@ -1556,8 +1556,6 @@ Converter::parseNIR() bool Converter::visit(nir_function *function) { - // we only support emiting the main function for now - assert(!strcmp(function->name, "main")); assert(function->impl); // usually the blocks will set everything up, but main is special