From 49e4248a93a790a40618542b4081f8a54183b27a Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 7 Sep 2017 13:42:17 +1000 Subject: i965/nir: export nir_optimize Reviewed-by: Kenneth Graunke Reviewed-by: Eduardo Lima Mitev --- src/intel/compiler/brw_nir.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/intel/compiler/brw_nir.h') diff --git a/src/intel/compiler/brw_nir.h b/src/intel/compiler/brw_nir.h index 560027c3662..f4b13b18c34 100644 --- a/src/intel/compiler/brw_nir.h +++ b/src/intel/compiler/brw_nir.h @@ -148,6 +148,10 @@ void brw_nir_analyze_ubo_ranges(const struct brw_compiler *compiler, bool brw_nir_opt_peephole_ffma(nir_shader *shader); +nir_shader *brw_nir_optimize(nir_shader *nir, + const struct brw_compiler *compiler, + bool is_scalar); + #define BRW_NIR_FRAG_OUTPUT_INDEX_SHIFT 0 #define BRW_NIR_FRAG_OUTPUT_INDEX_MASK INTEL_MASK(0, 0) #define BRW_NIR_FRAG_OUTPUT_LOCATION_SHIFT 1 -- cgit v1.2.3