nir: Add a pass for lowering IO back to vector when possible

Graphics / Mesa 3D Graphics Library / Mesa - Jason Ekstrand [intel.com] - 12 March 2019 15:34 EDT

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

5ef2b8f1f2e nir: Add a pass for lowering IO back to vector when possible
src/compiler/Makefile.sources | 1 +
src/compiler/nir/meson.build | 1 +
src/compiler/nir/nir.h | 1 +
src/compiler/nir/nir_lower_io_to_temporaries.c | 3 +-
src/compiler/nir/nir_lower_io_to_vector.c | 387 +++++++++++++++++++++++++
5 files changed, 392 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share