i965/gen7: Fix shadow sampling in the old brw_wm_emit backend.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 12 May 2011 11:02:32 +0000 (04:02 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 25 Jul 2011 17:45:56 +0000 (10:45 -0700)
commit572f6318954f31fcf3d396ac5df8e9eff3f37c74
treeb03ce9993c8ae91efbeb65301e732ccf48d2961c
parent156cef0fbacf242e8fc67e39ab964e5f8f3739cb
i965/gen7: Fix shadow sampling in the old brw_wm_emit backend.

On Ivybridge, the shadow comparitor goes in the first slot, rather than
at the end.  It's not necessary to send u, v, and r.

Fixes tests texturing/texdepth and glean/fbo.

NOTE: This is a candidate for the 7.11 branch.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm_emit.c