diff options
author | Connor Abbott <[email protected]> | 2014-07-17 09:12:52 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:18:58 -0800 |
commit | c2f36cf125f1301760e3653404b60d122bc38102 (patch) | |
tree | be28435b148d90d9bfe588103ef75dd2c2d6e107 /src/glsl/nir/nir.h | |
parent | 7f0daaa5e7883792167d42fed7267d4c8d552c86 (diff) |
nir: add a pass to lower variables for scalar backends
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r-- | src/glsl/nir/nir.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index 00f5f489cb7..8395953ab49 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -1242,6 +1242,10 @@ void nir_print_shader(nir_shader *shader, FILE *fp); void nir_validate_shader(nir_shader *shader); +void nir_lower_variables_scalar(nir_shader *shader, bool lower_globals, + bool lower_io, bool add_names, + bool native_integers); + #ifdef __cplusplus } /* extern "C" */ #endif |