nv50/ir/nir: don't assert on !main
required for OpenCL Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Pierre Moreau <pierre.morrow@free.fr>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user