mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
nir_lower_mem_access_bit_sizes: Fix assert (bit -> byte size)
Reviewed-By: Sil Vilerino <sivileri@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26293>
This commit is contained in:
parent
81387ed131
commit
c69ca8c5c1
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ lower_mem_store(nir_builder *b, nir_intrinsic_instr *intrin,
|
|||
if (chunk_align < requested.align ||
|
||||
chunk_bytes > max_chunk_bytes) {
|
||||
/* Otherwise the caller made a mistake with their return values. */
|
||||
assert(chunk_bytes <= 32);
|
||||
assert(chunk_bytes <= 4);
|
||||
assert(allow_unaligned_stores_as_atomics);
|
||||
|
||||
/* We'll turn this into a pair of 32-bit atomics to modify only the right
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue