r600g: use maths instead of a loop to work out mask.
authorDave Airlie <airlied@redhat.com>
Tue, 21 Jun 2011 05:18:44 +0000 (15:18 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 21 Jun 2011 05:18:44 +0000 (15:18 +1000)
commite251b3903a6aadd49cec6a9ce1ce466e3fcbbdcd
treee6c4a08a2f1112360619a9d27a54766195e05793
parent59a402cecd74e0a7a277f5af0b8a2707857846ed
r600g: use maths instead of a loop to work out mask.

This is equivalent results with less looping.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_state_common.c