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>
This commit is contained in:
Timothy Arceri
2018-01-30 10:55:19 +11:00
parent 3218756262
commit 9a2e085680
4 changed files with 5 additions and 0 deletions

View File

@@ -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.)