diff options
author | Karol Herbst <[email protected]> | 2019-03-08 14:12:00 +0100 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2019-07-10 13:22:21 +0200 |
commit | 2617c78fe298cebe85bec701c3b6a703ff3fbd60 (patch) | |
tree | 1fb29530b4d2184b248c3c795ad4f495a314d6fb /src/gallium | |
parent | fa6bd3c639a95d4fae7811def2f4be1c82f48633 (diff) |
nv50/ir/nir: don't assert on !main
required for OpenCL
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Pierre Moreau <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 2 |
1 files changed, 0 insertions, 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 |