We already try to validate these rules in validate_alu_src() and
validate_alu_dest(), but it seems like we don't handle the case where
the sources are unsized but the destination isn't -- we don't
currently check that the source's sizes match each other. Maybe delete
that code at the same time and
---
src/compiler/nir/nir_validate.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/src/compiler/nir/nir_validate.c b/src/compiler/nir/nir_validate.c
index 16efcb2..cad578c 100644
--- a/src/compiler/nir/nir_validate.c
+++ b/src/compiler/nir/nir_validate.c
@@ -388,10 +388