From: Erico Nunes Date: Thu, 19 Dec 2019 21:49:49 +0000 (+0100) Subject: lima/ppir: remove assert on ppir_emit_tex unsupported feature X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4322656dee2d3db448faaf3bd01e2a7769c9e46a;p=mesa.git lima/ppir: remove assert on ppir_emit_tex unsupported feature This assert causes testing tools such as shaderdb to abort on some test cases. This is an unsupported feature and not a compiler bug. The compilation error is already propagated correctly, so we can remove the assert to allow testing tools to run to completion. Signed-off-by: Erico Nunes Reviewed-by: Vasily Khoruzhick Part-of: --- diff --git a/src/gallium/drivers/lima/ir/pp/nir.c b/src/gallium/drivers/lima/ir/pp/nir.c index 2d0d97eadec..78220aefb03 100644 --- a/src/gallium/drivers/lima/ir/pp/nir.c +++ b/src/gallium/drivers/lima/ir/pp/nir.c @@ -504,7 +504,6 @@ static ppir_node *ppir_emit_tex(ppir_block *block, nir_instr *ni) break; default: ppir_error("unsupported texture source type\n"); - assert(0); return NULL; } }