softpipe: Fix cube face selection.
authorBrian Paul <brianp@vmware.com>
Mon, 21 Sep 2009 14:34:00 +0000 (08:34 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 21 Sep 2009 14:36:05 +0000 (08:36 -0600)
commit5a0b29050f22b4475426a6f05a0338a7cdf546a0
tree6e447402170359fbaca1d394a306d4c78c249713
parent077e3de98977ca0046d4f09eb7936f6006719739
softpipe: Fix cube face selection.

If arx and ary are equal, we still want to choose from one of them,
and not arz.

(cherry picked from commit de685b37a91bc95dd4093a44a49b7b47385b1f7c)
src/gallium/drivers/softpipe/sp_tex_sample.c