diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index e60e1bcd121..d8c61d17d8f 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -10240,7 +10240,7 @@ lower_simd(nir_builder *b, nir_instr *instr, void *options) } } -static void +void brw_nir_lower_simd(nir_shader *nir, unsigned dispatch_width) { nir_shader_lower_instructions(nir, filter_simd, lower_simd, diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h index fdeb821bf69..281ce0456ce 100644 --- a/src/intel/compiler/brw_fs.h +++ b/src/intel/compiler/brw_fs.h @@ -662,4 +662,6 @@ uint32_t brw_fb_write_msg_control(const fs_inst *inst, void brw_compute_urb_setup_index(struct brw_wm_prog_data *wm_prog_data); +void brw_nir_lower_simd(nir_shader *nir, unsigned dispatch_width); + #endif /* BRW_FS_H */