mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
asahi: mark eMRT loads as in-bounds
for layer clamping purposes. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29179>
This commit is contained in:
parent
ac114030a7
commit
ac726ae5a9
1 changed files with 4 additions and 4 deletions
|
|
@ -215,13 +215,13 @@ load_memory(nir_builder *b, unsigned bindless_base, unsigned nr_samples,
|
|||
nir_begin_invocation_interlock(b);
|
||||
|
||||
if (bindless) {
|
||||
return nir_bindless_image_load(b, comps, bit_size, image, coords, sample,
|
||||
lod, .image_dim = dim, .image_array = true,
|
||||
.format = format);
|
||||
return nir_bindless_image_load(
|
||||
b, comps, bit_size, image, coords, sample, lod, .image_dim = dim,
|
||||
.image_array = true, .format = format, .access = ACCESS_IN_BOUNDS_AGX);
|
||||
} else {
|
||||
return nir_image_load(b, comps, bit_size, image, coords, sample, lod,
|
||||
.image_dim = dim, .image_array = true,
|
||||
.format = format);
|
||||
.format = format, .access = ACCESS_IN_BOUNDS_AGX);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue