i965: Fixup for don't dead-code eliminate instructions that write to the accumulator.
authorMatt Turner <mattst88@gmail.com>
Fri, 20 Sep 2013 02:31:31 +0000 (19:31 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 7 Oct 2013 18:38:15 +0000 (11:38 -0700)
commite7dc88026a821a31bf2afeb934dded11c91401a1
treec7cf2f7a9151b138ec390bd66f6f884618fb43e8
parentc4e6569fc838d712253e355f32ee40671a86579e
i965: Fixup for don't dead-code eliminate instructions that write to the accumulator.

Accidentally pushed an old version of the patch.

v2: Set destination register using brw_null_reg().
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_vec4.cpp