Searched refs:scalar_size (Results 1 – 4 of 4) sorted by relevance
432 inline size_t PaddingBytes(size_t buf_size, size_t scalar_size) { in PaddingBytes() argument433 return ((~buf_size) + 1) & (scalar_size - 1); in PaddingBytes()
779 fn padding_bytes(buf_size: usize, scalar_size: usize) -> usize { in padding_bytes()781 (!buf_size).wrapping_add(1) & (scalar_size.wrapping_sub(1)) in padding_bytes()
1766 unsigned scalar_size = type_scalar_size_bytes(deref->type); in nir_lower_explicit_io_instr() local1768 assert(vec_stride == 0 || vec_stride >= scalar_size); in nir_lower_explicit_io_instr()1773 align_mul = scalar_size; in nir_lower_explicit_io_instr()1780 if (vec_stride > scalar_size) { in nir_lower_explicit_io_instr()1808 if (vec_stride > scalar_size) { in nir_lower_explicit_io_instr()
124 def _PaddingBytes(buf_size, scalar_size): argument126 return -buf_size & (scalar_size - 1)