nir: Add a pass for lowering IO back to vector when possible
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 6 Mar 2019 21:21:51 +0000 (15:21 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 12 Mar 2019 15:34:06 +0000 (15:34 +0000)
commit5ef2b8f1f2ebcdb4ffe5c98b3f4f48e584cb4b22
tree3cc8ecc991db2d22a4349f19f7d8b1eedea2a052
parent0f025bbccc236140101bc03ce9fa9d7a5bdb843b
nir: Add a pass for lowering IO back to vector when possible

This pass tries to turn scalar and array-of-scalar IO variables into
vector IO variables whenever possible.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Cc: "19.0" <mesa-stable@lists.freedesktop.org>
src/compiler/Makefile.sources
src/compiler/nir/meson.build
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_io_to_temporaries.c
src/compiler/nir/nir_lower_io_to_vector.c [new file with mode: 0644]