OSDN Git Service

[965] Avoid emitting dead code for DPx/math instructions.
authorMichal Wajdeczko <Michal.Wajdeczko@intel.com>
Fri, 21 Mar 2008 21:18:26 +0000 (14:18 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 21 Mar 2008 21:19:30 +0000 (14:19 -0700)
commitc60b5dfde869c208a479ac273f4538d4d07574cf
tree4417d60fab2cf496d9b2bd2bb6c45aed4e1f6910
parentbb419970ef465804c0e5369264314d9d92726c18
[965] Avoid emitting dead code for DPx/math instructions.

The pass1 optimization stage clears out writemasks and registers, but the
instructions themselves are still being processed at this stage, and could
have resulted in them still being emitted.
src/mesa/drivers/dri/i965/brw_wm_emit.c