softpipe: fix depth sampling for linear vs nearest.
authorDave Airlie <airlied@redhat.com>
Sun, 18 Dec 2011 21:25:15 +0000 (21:25 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Dec 2011 11:53:07 +0000 (11:53 +0000)
commit417aad5a992c8d7659438d20f82b4cf405c9c7b2
tree730c5306edf7c98d2e1948b716d74e11e38bb973
parent07eeb92abcd32653c9e6f6f60689bb1d059f5799
softpipe: fix depth sampling for linear vs nearest.

This sample compare was always doing linear, and this makes the
glsl-fs-shadow1DArray test render like the Intel driver.

fix wrong 0->j from initial patch

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/softpipe/sp_tex_sample.c