summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/lima/ir/pp/nir.c
diff options
context:
space:
mode:
authorErico Nunes <nunes.erico@gmail.com>2019-12-19 22:49:49 +0100
committerErico Nunes <nunes.erico@gmail.com>2019-12-20 20:58:50 +0100
commit4322656dee2d3db448faaf3bd01e2a7769c9e46a (patch)
treedbe87b4e302ee9a28f56b296c2e03943bc3827e8 /src/gallium/drivers/lima/ir/pp/nir.c
parentd56710ab82a0803b5a66c6c489a356de28779ffa (diff)
downloadmesa-4322656dee2d3db448faaf3bd01e2a7769c9e46a.tar.gz
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 <nunes.erico@gmail.com> Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3176>
Diffstat (limited to 'src/gallium/drivers/lima/ir/pp/nir.c')
-rw-r--r--src/gallium/drivers/lima/ir/pp/nir.c1
1 files changed, 0 insertions, 1 deletions
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;
}
}