nir: add varying array splitting pass

Graphics / Mesa 3D Graphics Library / Mesa - Timothy Arceri [itsqueeze.com] - 3 December 2017 22:10 EST

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.

c797bc6aa7 nir: add varying array splitting pass
src/compiler/Makefile.sources | 1 +
src/compiler/nir/meson.build | 1 +
src/compiler/nir/nir.h | 1 +
src/compiler/nir/nir_lower_io_arrays_to_elements.c | 383 +++++++++++++++++++++
4 files changed, 386 insertions(+)

Upstream: cgit.freedesktop.org


  • Share