diff options
author | Ian Romanick <[email protected]> | 2018-02-16 17:48:57 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2018-03-02 16:10:44 -0800 |
commit | 3a944316c44621ad824c812907d9d1e0d3ddda46 (patch) | |
tree | ff28331d666791c5951fa8a6abff6984c1c3ea9e /src/compiler/nir/.gitignore | |
parent | ab8f2e30b8ea3565c00a76b546b7ef3b78ab7ff6 (diff) |
nir: Silence unused parameter warnings in generated nir_constant_expressions code
Reduces my build from 2075 warnings to 2023 warnings by silencing 52
instances of things like
src/compiler/nir/nir_constant_expressions.c: In function ‘evaluate_bfi’:
src/compiler/nir/nir_constant_expressions.c:1812:61: warning: unused parameter ‘bit_size’ [-Wunused-parameter]
evaluate_bfi(MAYBE_UNUSED unsigned num_components, unsigned bit_size,
^~~~~~~~
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/compiler/nir/.gitignore')
0 files changed, 0 insertions, 0 deletions