mesa/src/compiler
Boris Brezillon c4f770308f 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.

Fixes: bcd14756ee ("nir/lower_io_to_vector: add flat mode")
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16960>
(cherry picked from commit d9ec7df2f4)
2022-06-15 16:12:58 -07:00
..
clc
glsl glsl/nir: Stop leaking varyings_info 2022-06-01 14:10:29 -07:00
isaspec isaspec: add gen-based leaf bitset separation 2022-02-12 13:46:07 -05:00
nir nir: Fix flat new_var assignment in create_new_io_vars() 2022-06-15 16:12:58 -07:00
spirv nir: introduce and use nir_component_mask 2022-06-01 14:49:21 -07:00
builtin_type_macros.h glsl: add vec5 glsl types 2022-01-18 16:10:35 +08:00
glsl_types.cpp compiler/types: Don't place members in the previous substruct's end padding 2022-06-15 16:12:58 -07:00
glsl_types.h
meson.build
nir_gl_types.h nir: remove gl.h include from nir headers. 2022-01-19 21:54:58 +00:00
nir_types.cpp nir: remove gl.h include from nir headers. 2022-01-19 21:54:58 +00:00
nir_types.h nir: remove gl.h include from nir headers. 2022-01-19 21:54:58 +00:00
shader_enums.c compiler: Extract num_mesh_vertices_per_primitive function. 2022-02-14 11:13:42 +01:00
shader_enums.h nir: Introduce workgroup_index and ability to lower workgroup_id to it. 2022-03-08 17:36:31 +00:00
shader_info.h spirv: Implement the function portion of the Linkage capability 2022-03-23 10:24:31 +00:00