nir: add lower_all_io_to_temps flag
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 29 Jan 2018 23:55:19 +0000 (10:55 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 30 Jan 2018 22:14:08 +0000 (09:14 +1100)
commit9a2e0856805d5dd27975d5a2bf68fab44346aa4f
tree6ece304f89edbe9e33558e961b3840057fcb5562
parent32187562623b78cc502eaa976a2933fa8a201cab
nir: add lower_all_io_to_temps flag

This will be used for freedreno and vc4 which require all inputs
and outputs to be copied to temps.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/broadcom/compiler/nir_to_vir.c
src/compiler/nir/nir.h
src/gallium/drivers/freedreno/ir3/ir3_nir.c
src/gallium/drivers/vc4/vc4_program.c