nir/copy_prop_vars: add tests for indirect array deref
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 29 Jan 2019 14:35:20 +0000 (06:35 -0800)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 1 Mar 2019 07:55:31 +0000 (23:55 -0800)
commit61965afd00af44e5f7c08710e8cd00f4e23b1e7c
tree8e1f52fa64b0052345925ae26cac932f4f92dd75
parent96c32d77763c4b561f751ca360e6539a3c5e7f4d
nir/copy_prop_vars: add tests for indirect array deref

Both on an actual array and on a vector, and an extra test on a vector
mixing direct and indirect access.  The vector tests are disabled and
will be enabled by a later commit.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/tests/vars_tests.cpp