diff options
author | Timothy Arceri <[email protected]> | 2018-01-30 10:55:19 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-01-31 09:14:08 +1100 |
commit | 9a2e0856805d5dd27975d5a2bf68fab44346aa4f (patch) | |
tree | 6ece304f89edbe9e33558e961b3840057fcb5562 /src/gallium/drivers/vc4/vc4_program.c | |
parent | 32187562623b78cc502eaa976a2933fa8a201cab (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_program.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_program.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c index 98cdfdf33ea..706982c4a1c 100644 --- a/src/gallium/drivers/vc4/vc4_program.c +++ b/src/gallium/drivers/vc4/vc4_program.c @@ -2180,6 +2180,7 @@ nir_to_qir(struct vc4_compile *c) } static const nir_shader_compiler_options nir_options = { + .lower_all_io_to_temps = true, .lower_extract_byte = true, .lower_extract_word = true, .lower_ffma = true, |