Skip to content

nir_lower_mem_access_bit_sizes: Assert when 0 components or bits are requested

What does this MR do and why?

nir_lower_mem_access_bit_sizes: Assert when 0 components or bits are requested

Prevent accidentally passing 0 components or bits, which is nonsense.

Suggested-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
Edited by David Heidelberg

Merge request reports

Loading