commit | acfb1583a560339b500a94bc13bf73675e7ed422 | [log] [tgz] |
---|---|---|
author | Neha Bhende <bhenden@vmware.com> | Thu Jul 20 13:59:36 2017 -0700 |
committer | Brian Paul <brianp@vmware.com> | Sat Jul 22 13:18:56 2017 -0600 |
tree | 3e7cd84f3b0162a54efcd2e2fb03845474943fb0 | |
parent | dc62ddfb39e2287f1376df94e15bf108a73f12b0 [diff] |
svga: fix unnormalized->normalized texture coordinate conversion Sometimes, converting unnormalized coordinates to normalized coordinates requires an epsilon value to produce the right texels with nearest filtering. Adding 0.0001 to the coordinates when the min/mag filter is nearest fixes the issue. Fixes piglit test fbo-blit-scaled-linear Tested with mtt-piglit, mtt-glretrace Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>