diff options
author | Adam Jackson <[email protected]> | 2015-07-21 12:08:20 -0400 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2015-07-21 13:38:27 -0400 |
commit | 5b4a7ec8f1d2eee12895541bb5c7d15382370884 (patch) | |
tree | fd177abca925f75981b4c8b9410a9fda2c704b03 /src/mesa | |
parent | 545dec5b3efeab7691ab3eb1436747048f241cf9 (diff) |
r600/sb: Fix an &/&& mistake
gcc says:
sb/sb_sched.cpp: In member function 'bool r600_sb::alu_group_tracker::try_reserve(r600_sb::alu_node*)':
sb/sb_sched.cpp:492:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
if (!trans & fbs)
It happens to be harmless; if fbs is ever non-zero, it will be VEC_210,
which is 5, so (!trans & 5) == 1 and the branch works as expected. But
logical AND is clearly what was meant.
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions