summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_interpolation_map.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2019-02-26 11:24:56 -0800
committerIan Romanick <[email protected]>2019-03-06 08:35:36 -0800
commitbbf20a1ca366094509ddfb1eedc943524a92c29f (patch)
tree8a4e5915338cf305886fc319bdc428597ebeb5d8 /src/intel/compiler/brw_interpolation_map.c
parentdea19138dd691c69ad4150e97b6f40ec4f0c7550 (diff)
intel/compiler: Silence unused parameter warning in brw_interpolation_map.c
The parameter is never used, and it's not part of a common interface idiom. Remove it. src/intel/compiler/brw_interpolation_map.c: In function ‘brw_setup_vue_interpolation’: src/intel/compiler/brw_interpolation_map.c:62:59: warning: unused parameter ‘devinfo’ [-Wunused-parameter] const struct gen_device_info *devinfo) ^~~~~~~ Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_interpolation_map.c')
-rw-r--r--src/intel/compiler/brw_interpolation_map.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_interpolation_map.c b/src/intel/compiler/brw_interpolation_map.c
index 7b9f58eb6ee..454cc3e2c24 100644
--- a/src/intel/compiler/brw_interpolation_map.c
+++ b/src/intel/compiler/brw_interpolation_map.c
@@ -58,8 +58,7 @@ gen4_frag_prog_set_interp_modes(struct brw_wm_prog_data *prog_data,
/* Set up interpolation modes for every element in the VUE */
void
brw_setup_vue_interpolation(struct brw_vue_map *vue_map, nir_shader *nir,
- struct brw_wm_prog_data *prog_data,
- const struct gen_device_info *devinfo)
+ struct brw_wm_prog_data *prog_data)
{
/* Initialise interp_mode. INTERP_MODE_NONE == 0 */
memset(prog_data->interp_mode, 0, sizeof(prog_data->interp_mode));