softpipe: fix shadow sampling
authorHeinrich Janzing <Heinrich.Janzing@simplant.com>
Thu, 10 Apr 2014 11:54:30 +0000 (13:54 +0200)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Apr 2014 17:47:32 +0000 (11:47 -0600)
commitc8e7568f97b2a71e263b037eb8617efcf36603c8
tree982b9cde9463ec3dc0aa87bae6b8e3c7380ae8fd
parent86b8843e9c952a9cca8fd00c5187c64f5985ac05
softpipe: fix shadow sampling

And remove nonsensical approximation of linear interpolation behavior
for shadow samplers.

Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/softpipe/sp_tex_sample.c