Module: Mesa
Branch: master
Commit: 4322656dee2d3db448faaf3bd01e2a7769c9e46a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4322656dee2d3db448faaf3bd01e2a7769c9e46a

Author: Erico Nunes <[email protected]>
Date:   Thu Dec 19 22:49:49 2019 +0100

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 <[email protected]>
Reviewed-by: Vasily Khoruzhick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3176>

---

 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;
       }
    }

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to