swrast: add coord clamping, fix comparisons for shadow testing
authorPhilip Taylor <excors@gmail.com>
Tue, 8 Mar 2011 15:21:10 +0000 (08:21 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 8 Mar 2011 15:31:43 +0000 (08:31 -0700)
commitd9f584e663c7447e638acca2c164b16626a5271a
treef37fcf79b03b7e1c9ff4046aa2c378311e994f40
parent9181a75c4dfd07a6464c80aed5c21f2af39dd63f
swrast: add coord clamping, fix comparisons for shadow testing

This fixes https://bugs.freedesktop.org/show_bug.cgi?id=31159 for swrast
and piglit depth-tex-compare.

NOTE: This is a candidate for the 7.10 branch.

Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_texfilter.c