nir: Add a new pass to lower array dereferences on vectors
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 11 Mar 2019 23:47:39 +0000 (18:47 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 16 Mar 2019 04:10:27 +0000 (23:10 -0500)
commit35b8f6f40bb45dbffb04dd883ac6644300832981
tree38a03099d1454e97bf57b6b633b817c975453387
parentfe9a6c0f14aa3ca6dfb1c7480871c95838b5cf14
nir: Add a new pass to lower array dereferences on vectors

This pass was originally written for lowering TCS output reads and
writes but it is also applicable just about anything including UBOs,
SSBOs, and shared variables.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/Makefile.sources
src/compiler/nir/meson.build
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_array_deref_of_vec.c [new file with mode: 0644]