diff options
author | Brian Paul <[email protected]> | 2019-03-11 20:12:15 -0600 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-03-12 14:34:51 +1100 |
commit | 02c2863df514cf24ec6464f6daa9f299bcf542e1 (patch) | |
tree | f04db97aed5d1293dd2f9cba6a84e256d2b8bfc3 /src/mesa/state_tracker | |
parent | 587ad37e72d2a343b82a0c62c41c869d6825e14d (diff) |
nir: silence a couple new compiler warnings
[33/630] Compiling C object 'src/compiler/nir/nir@sta/nir_loop_analyze.c.o'.
../src/compiler/nir/nir_loop_analyze.c: In function ‘try_find_trip_count_vars_in_iand’:
../src/compiler/nir/nir_loop_analyze.c:846:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (*ind == NULL || *ind && (*ind)->type != basic_induction ||
^
[85/630] Compiling C object 'src/compiler/nir/nir@sta/nir_opt_loop_unroll.c.o'.
../src/compiler/nir/nir_opt_loop_unroll.c: In function ‘complex_unroll_single_terminator’:
../src/compiler/nir/nir_opt_loop_unroll.c:494:17: warning: unused variable ‘unroll_loc’ [-Wunused-variable]
nir_cf_node *unroll_loc =
^
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
0 files changed, 0 insertions, 0 deletions