nir/validate: expand IO intrinsic validation with nir_io_semantics

There are many workarounds.

v2: add more validation

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> (v1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38113>
This commit is contained in:
Marek Olšák
2025-10-27 23:04:43 -04:00
committed by Marge Bot
parent 390023f9fd
commit 2f6b4803ab
7 changed files with 162 additions and 37 deletions
+2 -1
View File
@@ -86,7 +86,8 @@ v3d_nir_store_output(nir_builder *b, int base, nir_def *offset,
}
nir_store_output(b, chan, offset, .base = base, .write_mask = 0x1, .component = 0,
.src_type = nir_type_uint | chan->bit_size);
.src_type = nir_type_uint | chan->bit_size,
.io_semantics.no_validate = 1);
}
static int