From 4322656dee2d3db448faaf3bd01e2a7769c9e46a Mon Sep 17 00:00:00 2001 From: Erico Nunes Date: Thu, 19 Dec 2019 22:49:49 +0100 Subject: [PATCH] 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: --- src/gallium/drivers/lima/ir/pp/nir.c | 1 - 1 file changed, 1 deletion(-) 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; } } -- 2.30.2