From f77f4c00ce4834ca14dd27bed28949dc012e7daf Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 14 Nov 2014 21:35:25 -0800 Subject: nir: Add a basic constant folding pass Reviewed-by: Connor Abbott --- src/glsl/nir/nir.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/glsl/nir/nir.h') 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); -- cgit v1.2.3