From 2617c78fe298cebe85bec701c3b6a703ff3fbd60 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Fri, 8 Mar 2019 14:12:00 +0100 Subject: [PATCH] nv50/ir/nir: don't assert on !main required for OpenCL Signed-off-by: Karol Herbst Reviewed-by: Pierre Moreau --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.30.2