Mesa (main): intel/compiler: Export brw_nir_lower_simd

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Dec 4 01:33:16 UTC 2021


Module: Mesa
Branch: main
Commit: 827cf65a26ea90fff17ad57f72ca12ad1c448063
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=827cf65a26ea90fff17ad57f72ca12ad1c448063

Author: Caio Oliveira <caio.oliveira at intel.com>
Date:   Tue May 18 10:37:36 2021 -0700

intel/compiler: Export brw_nir_lower_simd

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13661>

---

 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 */



More information about the mesa-commit mailing list