-
When declaring an array with variable length, like `nir_variable *vars[num_entries]`, ensure the length is always greater than 0 This has been detected by Undefined Behaviour Sanitizer (UBSan). Reviewed-by:
Iago Toral Quiroga <itoral@igalia.com> Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29911>
b827aee3