Skip to content

nir: Fix flat new_var assignment in create_new_io_vars()

If the type is not an array, glsl_get_length() returns 0 and we don't update the new_vars[]/flat_vars[] entries.

Reviewed-by: Jason Ekstrand jason.ekstrand@collabora.com

(extracted from !15024 (closed))

Merge request reports