nir: Handle image arrays when setting variable data
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 5 Nov 2019 01:14:10 +0000 (17:14 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 5 Nov 2019 02:16:06 +0000 (18:16 -0800)
commit337f58438e6ac9dc66d3df25eabd8b89c883ad90
tree3da643611ffde94f2d48419dafc329dd5afee3f7
parentb57383a9445eae153fbf91fad8592d273b14e546
nir: Handle image arrays when setting variable data

Fixes a ton of regressions in image load store tests.

Fixes: 4319cc8c0f5 ("nir: pack nir_variable::data::xfb_*")
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/compiler/glsl/glsl_to_nir.cpp