From 9a2e0856805d5dd27975d5a2bf68fab44346aa4f Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Tue, 30 Jan 2018 10:55:19 +1100 Subject: nir: add lower_all_io_to_temps flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will be used for freedreno and vc4 which require all inputs and outputs to be copied to temps. Reviewed-by: Marek Olšák --- src/compiler/nir/nir.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/compiler/nir') 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.) -- cgit v1.2.3