Module: Mesa
Branch: main
Commit: 08bdee3f107647090df8d5f98f0994949e8c9a22
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=08bdee3f107647090df8d5f98f0994949e8c9a22

Author: Lucas Stach <[email protected]>
Date:   Thu Apr 28 12:26:14 2022 +0200

etnaviv: reinstate accidentially commented assert

I added this hack to my tree when testing another MR and ended up
squashing it into c2a3236d1a (etnaviv: clean up tiling setup in
etna_compile_rs_state) by accident when doing some changes to this
commit. Reinstate the assert.

Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16212>

---

 src/gallium/drivers/etnaviv/etnaviv_nir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/etnaviv/etnaviv_nir.c 
b/src/gallium/drivers/etnaviv/etnaviv_nir.c
index 6a12c6b5b9f..a92f96972a5 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_nir.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_nir.c
@@ -111,7 +111,7 @@ etna_lower_io(nir_shader *shader, struct 
etna_shader_variant *v)
                case nir_tex_src_comparator:
                   break;
                default:
-                  //assert(0);
+                  assert(0);
                   break;
                }
             }

Reply via email to