nir: fix support for scalar arrays in nir_lower_io_types()
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 17 Nov 2017 03:27:27 +0000 (14:27 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 3 Dec 2017 22:10:30 +0000 (09:10 +1100)
commit2a35021bc61632562e34448249c80887a0d7ac3c
tree1669528b68e16c9430fa5a21282e218664634163
parent9530b786d2fcd4750ad61fc57c90bf398f0d98c5
nir: fix support for scalar arrays in nir_lower_io_types()

This was just recreating the same vector type we alreay had and
hitting an assert for scalars.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/nir/nir_lower_io_types.c