nir: add varying array splitting pass
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 23 Oct 2017 04:51:29 +0000 (15:51 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 3 Dec 2017 22:10:30 +0000 (09:10 +1100)
commitc797bc6aa7b339deb96be5f9c75662439a4963b6
tree2607442ab4427d011e957d60ab8704d76357f2f7
parent11efe42a7317d06e78d6a1808314d18af89cf39d
nir: add varying array splitting pass

V2:
 - fix matrix support, non-array matrices were being skipped in v1

v3:
 - handle lowering of tcs output loads correctly
 - correctly mark indirect locations for either in or out not both
   when processing a stage.
 - use nir_src_copy() when lowering stores.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/Makefile.sources
src/compiler/nir/meson.build
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_io_arrays_to_elements.c [new file with mode: 0644]