summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-11-04 10:12:14 -0800
committerJason Ekstrand <[email protected]>2015-01-15 07:19:01 -0800
commit13ec15bdbf4fa7e9681b46a4636575f1e4a700b4 (patch)
treef2e0d98cae2e701099a2cc1773b9c0d43516c8f4 /src/glsl/nir/nir.h
parentef7ebb908ed0ebd005bb5eb4554dc2ba8d6be983 (diff)
nir: Add a peephole select optimization
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r--src/glsl/nir/nir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 126e9c841c7..5c0a1e50ff1 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -1373,6 +1373,8 @@ bool nir_copy_prop(nir_shader *shader);
bool nir_opt_dce_impl(nir_function_impl *impl);
bool nir_opt_dce(nir_shader *shader);
+bool nir_opt_peephole_select(nir_shader *shader);
+
#ifdef __cplusplus
} /* extern "C" */
#endif