mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 05:40:39 +02:00
spirv: set in_bounds for ptr_as_array
Signed-off-by: Job Noorman <jnoorman@igalia.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38110>
This commit is contained in:
parent
0ac55b786a
commit
0a6d698482
1 changed files with 1 additions and 0 deletions
|
|
@ -484,6 +484,7 @@ vtn_pointer_dereference(struct vtn_builder *b,
|
|||
nir_def *index = vtn_access_link_as_ssa(b, deref_chain->link[0], 1,
|
||||
tail->def.bit_size);
|
||||
tail = nir_build_deref_ptr_as_array(&b->nb, tail, index);
|
||||
tail->arr.in_bounds = deref_chain->in_bounds;
|
||||
idx++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue