r300/compiler: Unroll loops that have a constant number of iterations.
authorTom Stellard <tstellar@gmail.com>
Mon, 31 May 2010 18:53:23 +0000 (11:53 -0700)
committerMarek Olšák <maraeo@gmail.com>
Fri, 11 Jun 2010 20:06:58 +0000 (22:06 +0200)
commit0f1109ce3613b61bf3c502beb422af8d43ff7b9b
treea5bdb176021f777d5c5d492a60bed5886bfd0be2
parent622fd4d061678027d5de2c84d1c07370830c4264
r300/compiler: Unroll loops that have a constant number of iterations.

This only works with for loops that increment the counter.
e.g. for(i=0; i<10; i++)
src/mesa/drivers/dri/r300/compiler/radeon_emulate_loops.c