i965: Don't compute brw->wm.input_size_masks when it's unused.
authorEric Anholt <eric@anholt.net>
Thu, 28 Apr 2011 04:50:20 +0000 (21:50 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 31 May 2011 19:07:28 +0000 (12:07 -0700)
commit3412069e23b7fa5656262f3dd1aa86f66980594d
tree9b85e44b7c48f0f46f164e336a77610865b15709
parentbcbb1a536f7b6f00bbb164bd14d9f63102b9a8af
i965: Don't compute brw->wm.input_size_masks when it's unused.

It's only used in the old fragment program path, to avoid projection
when w is always 1.  We do want to do this in the new path pre-gen6
too, but we'll probably do it through the ir.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vs_constval.c