r300/compiler: Limit instructions to 3 source selects
authorTom Stellard <tstellar@gmail.com>
Sun, 24 Apr 2011 04:27:34 +0000 (21:27 -0700)
committerTom Stellard <tstellar@gmail.com>
Wed, 11 May 2011 23:16:29 +0000 (16:16 -0700)
commit4612554dce5d787fca9c85a67378024b336bd6ad
treeda5f29b768aee165cacbc4d4e2abbc999602979b
parentd1e8195c070c7b1324efbb037299ba184bb06270
r300/compiler: Limit instructions to 3 source selects

Some presubtract conversions were generating more than 3 source
selects.

https://bugs.freedesktop.org/show_bug.cgi?id=36527

Note: This is a candidate for the 7.10 branch.
src/mesa/drivers/dri/r300/compiler/radeon_compiler_util.c
src/mesa/drivers/dri/r300/compiler/radeon_compiler_util.h
src/mesa/drivers/dri/r300/compiler/radeon_optimize.c
src/mesa/drivers/dri/r300/compiler/tests/radeon_compiler_util_tests.c