r300/compiler: Fix bug in rc_find_free_temporary
authorNicolai Hähnle <nhaehnle@gmail.com>
Wed, 26 Aug 2009 20:53:24 +0000 (22:53 +0200)
committerNicolai Hähnle <nhaehnle@gmail.com>
Wed, 26 Aug 2009 23:46:45 +0000 (01:46 +0200)
commit2114acb044b1d8860350a9f14890fce1e2f315f0
treed4d4b3ebf49def718298ebbaa39b5210e32e3281
parente1d978775f982a450bd84588a4f9567d6bbccebd
r300/compiler: Fix bug in rc_find_free_temporary

Find used temporaries even if they are only written to in dead code.
This fixes a bug in the NQSSADCE stage.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
src/mesa/drivers/dri/r300/compiler/radeon_program.c