OSDN Git Service

intel: Use bit-wise not instead of logical not (i830 path)
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 19 Mar 2010 00:30:15 +0000 (17:30 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 19 Mar 2010 00:30:15 +0000 (17:30 -0700)
commit062a208814ad65d330f403c46d4bed88648f334f
tree4a45138d7af690e2bba15ebb1271c8405d94405b
parent689e4b554123bbf9af727b910dad9d1b32521f95
intel: Use bit-wise not instead of logical not (i830 path)

The assertion is checking that the low-order bits of offset are not
set.  It does this by anding the inverted offset mask with the
offset.  This is clearly intended to be a bit-wise "invert".

Fixes bug #25984.
src/mesa/drivers/dri/i915/intel_tris.c