i965/vs: Add simple dead code elimination.
authorEric Anholt <eric@anholt.net>
Wed, 17 Aug 2011 17:50:17 +0000 (10:50 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 20 Aug 2011 00:06:29 +0000 (17:06 -0700)
commit8174945d3346dc049ae56dcb4bf1eab39f5c88aa
treef90feb78c9d39371a3baa63d6b9d04ca4c20350b
parent3dadc1e3cceac80a1b63cad2e10f0e0f8904531b
i965/vs: Add simple dead code elimination.

This is copied right from the fragment shader.  It is needed for real
register allocation to work correctly.
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp