mesa/drivers: Fix clang constant-logical-operand warnings.
authorVinson Lee <vlee@freedesktop.org>
Sat, 14 Jun 2014 04:37:18 +0000 (21:37 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sun, 15 Jun 2014 06:21:43 +0000 (23:21 -0700)
commit32c55448602f8ed764005e72682f5f3979763321
tree8d5aa5eb3cc50bc645e79ce8f88285cd8878b82c
parent4191cc48611783163e28fc04c3c4a3057d309c1e
mesa/drivers: Fix clang constant-logical-operand warnings.

This patch fixes several clang constant-logical-operand warnings such as
the following.

../../../../../src/mesa/tnl_dd/t_dd_tritmp.h:130:32: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
   if (DO_TWOSIDE || DO_OFFSET || DO_UNFILLED || DO_TWOSTENCIL)
                               ^  ~~~~~~~~~~~
../../../../../src/mesa/tnl_dd/t_dd_tritmp.h:130:32: note: use '|' for a bitwise operation
   if (DO_TWOSIDE || DO_OFFSET || DO_UNFILLED || DO_TWOSTENCIL)
                               ^~
                               |

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i915/intel_tris.c
src/mesa/drivers/dri/r200/r200_swtcl.c
src/mesa/drivers/dri/radeon/radeon_maos_verts.c
src/mesa/drivers/dri/radeon/radeon_swtcl.c