radeon: Remove the loop from stride size calculation.
authorPauli Nieminen <suokkos@gmail.com>
Sat, 6 Feb 2010 01:01:57 +0000 (03:01 +0200)
committerPauli Nieminen <suokkos@gmail.com>
Sat, 6 Feb 2010 17:14:20 +0000 (19:14 +0200)
commit9d5f88250379666961f92a7e20cf0d48907c38e2
tree4cce54e50209a050d66ce11303fe50df271f6a70
parent78572ebcb3bf6b1c931ee6ea4ba2fda831c11c94
radeon: Remove the loop from stride size calculation.

Changed stride size calculation to do the math by rounding
the value instead of loop. r600 minimum stride is 256 which
might might cause up to about 60 rounds of the loop.
src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c