diff options
author | Connor Abbott <[email protected]> | 2014-07-23 11:19:50 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:18:58 -0800 |
commit | 8b7cb7674c735d83cd9a2b41e3d1f367353a20d4 (patch) | |
tree | 3d367ec3768b47f5efe88104e37314cd36f5d451 /src/glsl/nir/nir.h | |
parent | 4553887d4a4501a75c91033e9e8e5fe4cd6bc3f2 (diff) |
nir: add an SSA-based copy propagation pass
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r-- | src/glsl/nir/nir.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index feaf21dd656..c764aafdf15 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -1293,6 +1293,9 @@ void nir_convert_to_ssa(nir_shader *shader); bool nir_opt_global_to_local(nir_shader *shader); +bool nir_copy_prop_impl(nir_function_impl *impl); +bool nir_copy_prop(nir_shader *shader); + #ifdef __cplusplus } /* extern "C" */ #endif |