Mesa (main): intel/compiler: Make brw_nir_populate_wm_prog_data() static
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 3 18:25:19 UTC 2021
Module: Mesa
Branch: main
Commit: c4355d3f24535c7d061992f86c21d990232014fd
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4355d3f24535c7d061992f86c21d990232014fd
Author: Caio Oliveira <caio.oliveira at intel.com>
Date: Mon May 17 15:25:26 2021 -0700
intel/compiler: Make brw_nir_populate_wm_prog_data() static
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13629>
---
src/intel/compiler/brw_fs.cpp | 2 +-
src/intel/compiler/brw_nir.h | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index 3b9ed9469bc..8a5bfbbdb1a 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -9623,7 +9623,7 @@ brw_nir_demote_sample_qualifiers(nir_shader *nir)
NULL);
}
-void
+static void
brw_nir_populate_wm_prog_data(const nir_shader *shader,
const struct intel_device_info *devinfo,
const struct brw_wm_prog_key *key,
diff --git a/src/intel/compiler/brw_nir.h b/src/intel/compiler/brw_nir.h
index bcaec8dbc26..e95da4ac2ea 100644
--- a/src/intel/compiler/brw_nir.h
+++ b/src/intel/compiler/brw_nir.h
@@ -191,10 +191,6 @@ nir_shader *brw_nir_create_passthrough_tcs(void *mem_ctx,
bool brw_nir_move_interpolation_to_top(nir_shader *nir);
bool brw_nir_demote_sample_qualifiers(nir_shader *nir);
-void brw_nir_populate_wm_prog_data(const nir_shader *shader,
- const struct intel_device_info *devinfo,
- const struct brw_wm_prog_key *key,
- struct brw_wm_prog_data *prog_data);
#ifdef __cplusplus
}
More information about the mesa-commit
mailing list