glsl: disable array splitting for AoA
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 25 May 2017 02:29:20 +0000 (12:29 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 19 Jul 2017 01:06:23 +0000 (11:06 +1000)
commit57165f2ef8ea743238ac1074fe80539a91da4835
tree1e4258f0f5bd95e74d7d8a09a302002018c0cd98
parent3f0fb23b039443d581d221b1fe9158f9cc81ccd6
glsl: disable array splitting for AoA

While it produces functioning code the pass creates worse code
for arrays of arrays. See the comment added in this patch for more
detail.

V2: skip splitting of AoA of matrices too.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/glsl/opt_array_splitting.cpp