nir: Handle array-deref-of-vector case in loop analysis
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 22 Mar 2019 03:37:12 +0000 (20:37 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 22 Mar 2019 20:50:39 +0000 (13:50 -0700)
commite5830e11322bc20cbae7cad9e0654376d41f2c19
treeb988bc597a87cd4aa90ac426fd95f053241a2abb
parentcdd90a7502e501b0f25d35a2e9715fbe5d09a211
nir: Handle array-deref-of-vector case in loop analysis

SPIR-V can produce those for SSBO and UBO access.  Found when testing
the ARB_gl_spirv series.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/nir/nir_loop_analyze.c