i965/gs: Add dummy source to prepare_channel_masks instruction.
authorMatt Turner <mattst88@gmail.com>
Sun, 30 Mar 2014 00:44:45 +0000 (17:44 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 15 Apr 2014 16:24:09 +0000 (09:24 -0700)
commit4dcfb924176eea4f0ac892c8ec8d38090dd59d2a
tree487eda48926ddf45d80e43978b0671a32deb309d
parentd877c643bea7a40e37d13d8a967c06fd006d1622
i965/gs: Add dummy source to prepare_channel_masks instruction.

The generator uses its destination as a source implicitly, which breaks
some assumptions in dead code elimination. Giving the instruction a
source allows us to reason about it better.
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp