From 827cf65a26ea90fff17ad57f72ca12ad1c448063 Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Tue, 18 May 2021 10:37:36 -0700 Subject: [PATCH] intel/compiler: Export brw_nir_lower_simd Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/compiler/brw_fs.cpp | 2 +- src/intel/compiler/brw_fs.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 */