glsl_to_tgsi: fix mistake in new dead code elimination pass
authorBryan Cain <bryancain3@gmail.com>
Mon, 27 Jun 2011 22:25:50 +0000 (17:25 -0500)
committerBryan Cain <bryancain3@gmail.com>
Mon, 1 Aug 2011 22:59:09 +0000 (17:59 -0500)
commit4c8b6a286887628e5fc35306189a4c4a83c482ea
treec1717e77ec6aac47208bac29ca2e2628cf718d36
parentf00406b68c07f97b11e873c04917cafdb1a67462
glsl_to_tgsi: fix mistake in new dead code elimination pass

The conditions of IF opcodes were not being counted as reads, which sometimes
led to the condition register being wrong or undefined.
src/mesa/state_tracker/st_glsl_to_tgsi.cpp