diff options
author | Ian Romanick <[email protected]> | 2019-02-26 11:24:56 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2019-03-06 08:35:36 -0800 |
commit | bbf20a1ca366094509ddfb1eedc943524a92c29f (patch) | |
tree | 8a4e5915338cf305886fc319bdc428597ebeb5d8 /src/intel/compiler/brw_fs.cpp | |
parent | dea19138dd691c69ad4150e97b6f40ec4f0c7550 (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_fs.cpp')
-rw-r--r-- | src/intel/compiler/brw_fs.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index c4c800c6c22..bbab80d6018 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -7758,9 +7758,8 @@ brw_compile_fs(const struct brw_compiler *compiler, void *log_data, brw_nir_lower_fs_inputs(shader, devinfo, key); brw_nir_lower_fs_outputs(shader); - if (devinfo->gen < 6) { - brw_setup_vue_interpolation(vue_map, shader, prog_data, devinfo); - } + if (devinfo->gen < 6) + brw_setup_vue_interpolation(vue_map, shader, prog_data); if (!key->multisample_fbo) NIR_PASS_V(shader, demote_sample_qualifiers); |