st/glsl_to_nir: correctly handle arrays packed across multiple vars
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 23 Mar 2018 01:17:07 +0000 (12:17 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 27 Mar 2018 22:59:38 +0000 (09:59 +1100)
commit48f6014903454dcb0e8e05afb41cabf2dbac0585
treec576462992a13c1355853b73627bf38e23e76995
parentb260efbd5eed4fd89e7928cfc2103f058a1e86d2
st/glsl_to_nir: correctly handle arrays packed across multiple vars

Fixes piglit test:
tests/spec/arb_enhanced_layouts/execution/component-layout/vs-fs-array-interleave-range.shader_test

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp