OSDN Git Service

i965/fs: Avoid inappropriate optimization with regs_written > 1.
authorEric Anholt <eric@anholt.net>
Fri, 15 Mar 2013 21:31:46 +0000 (14:31 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 1 Apr 2013 23:17:25 +0000 (16:17 -0700)
commitbc0e1591f64b8b3f2693fceaaa8bba9198e26171
tree3b3adab93b50a5682c23b13f3e073ec8445c914f
parent740350c982bd2735b9eb9063c2b91856b6f1ad31
i965/fs: Avoid inappropriate optimization with regs_written > 1.

Right now we don't have anything with regs_written() > 1 and !inst->mlen,
but that's about to change.

NOTE: This is a candidate for the 9.1 branch.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp