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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user