summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-01-30 10:55:19 +1100
committerTimothy Arceri <[email protected]>2018-01-31 09:14:08 +1100
commit9a2e0856805d5dd27975d5a2bf68fab44346aa4f (patch)
tree6ece304f89edbe9e33558e961b3840057fcb5562 /src/compiler/nir
parent32187562623b78cc502eaa976a2933fa8a201cab (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/compiler/nir')
-rw-r--r--src/compiler/nir/nir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 86d1c68fa72..9ab2769e067 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -1873,6 +1873,8 @@ typedef struct nir_shader_compiler_options {
bool lower_extract_byte;
bool lower_extract_word;
+ bool lower_all_io_to_temps;
+
/**
* Does the driver support real 32-bit integers? (Otherwise, integers
* are simulated by floats.)