diff --git a/src/compiler/nir/nir_lower_mem_access_bit_sizes.c b/src/compiler/nir/nir_lower_mem_access_bit_sizes.c index c0b693a8b56..63f755a55c9 100644 --- a/src/compiler/nir/nir_lower_mem_access_bit_sizes.c +++ b/src/compiler/nir/nir_lower_mem_access_bit_sizes.c @@ -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