diff options
author | Jason Ekstrand <[email protected]> | 2014-11-14 21:35:25 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:20:20 -0800 |
commit | f77f4c00ce4834ca14dd27bed28949dc012e7daf (patch) | |
tree | d9a0afe8e46e6a384d5c3f12810e0ad3a12e0c06 /src/glsl/nir/nir.h | |
parent | d5410bd8f65b8d0f845dc8beccd498b6fa098660 (diff) |
nir: Add a basic constant folding pass
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r-- | src/glsl/nir/nir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index f3845f9e391..0c21dca6baf 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -1399,6 +1399,7 @@ void nir_convert_to_ssa(nir_shader *shader); void nir_convert_from_ssa(nir_shader *shader); bool nir_opt_algebraic(nir_shader *shader); +bool nir_opt_constant_folding(nir_shader *shader); bool nir_opt_global_to_local(nir_shader *shader); |