diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/nir/nir_lower_io_to_vector.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_lower_io_to_vector.c b/src/compiler/nir/nir_lower_io_to_vector.c index 677b4a84095..84bd941c11c 100644 --- a/src/compiler/nir/nir_lower_io_to_vector.c +++ b/src/compiler/nir/nir_lower_io_to_vector.c @@ -81,6 +81,9 @@ variables_can_merge(const nir_shader *shader, const nir_variable *a, const nir_variable *b, bool same_array_structure) { + if (a->data.compact || b->data.compact) + return false; + const struct glsl_type *a_type_tail = a->type; const struct glsl_type *b_type_tail = b->type; |