r300/compiler: Fix black terrain in Civ4
authorTom Stellard <tstellar@gmail.com>
Tue, 4 Jan 2011 18:53:49 +0000 (10:53 -0800)
committerTom Stellard <tstellar@gmail.com>
Tue, 4 Jan 2011 19:25:27 +0000 (11:25 -0800)
commite96e86d07be86ce12628d750ff686d6aea919fff
tree3887325dcf00ff28b434c4bbfa43c0bbcbfb4686
parent68d06b1454aea30c492c7318ab4e8514df8f38fd
r300/compiler: Fix black terrain in Civ4

rc_inst_can_use_presub() wasn't checking for too many RGB sources in
Alpha instructions or too many Alpha sources in RGB instructions.

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