nir: fix nir_opt_copy_prop_vars() for arrays of arrays
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 30 Jun 2017 02:03:18 +0000 (12:03 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 19 Jul 2017 01:06:23 +0000 (11:06 +1000)
commit3f0fb23b039443d581d221b1fe9158f9cc81ccd6
treeed520c8287967a8faf384e39a8a13bbeed3e8291
parentecf91898e0a8e144adb82d72aecf1224e77ee31b
nir: fix nir_opt_copy_prop_vars() for arrays of arrays

Previously we only incremented the guide for a single
dimension/wildcard.

V2: rework logic to avoid code duplication

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: mesa-stable@lists.freedesktop.org
src/compiler/nir/nir_opt_copy_prop_vars.c