X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2Fnir%2Fnir_lower_io_to_vector.c;h=f85e53ac75839053470c58a33898e3869cea9a75;hb=5dc85abc4fe0a27beb00ef31bb21b79dbdcfec8d;hp=05412e2375de01fdff6d5d708463d7b5e7843a77;hpb=0bc77bcdb2c4f943ac1c946daaeda6295242d059;p=mesa.git diff --git a/src/compiler/nir/nir_lower_io_to_vector.c b/src/compiler/nir/nir_lower_io_to_vector.c index 05412e2375d..f85e53ac758 100644 --- a/src/compiler/nir/nir_lower_io_to_vector.c +++ b/src/compiler/nir/nir_lower_io_to_vector.c @@ -84,6 +84,9 @@ variables_can_merge(const nir_shader *shader, if (a->data.compact || b->data.compact) return false; + if (a->data.per_view || b->data.per_view) + return false; + const struct glsl_type *a_type_tail = a->type; const struct glsl_type *b_type_tail = b->type;