anv: bound load descriptor mem better
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21645>
This commit is contained in:
committed by
Marge Bot
parent
6d1223a5c9
commit
1c45cd217e
@@ -269,7 +269,7 @@ build_load_descriptor_mem(nir_builder *b,
|
||||
.align_mul = 8,
|
||||
.align_offset = desc_offset % 8,
|
||||
.range_base = 0,
|
||||
.range = ~0);
|
||||
.range = num_components * bit_size / 8);
|
||||
}
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user