diff options
author | Roland Scheidegger <rscheidegger_lists@hispeed.ch> | 2012-02-18 21:12:34 +0100 |
---|---|---|
committer | Roland Scheidegger <rscheidegger_lists@hispeed.ch> | 2012-02-20 15:24:04 +0100 |
commit | 688c8a54a00b01e73a11970ad2abe858f8c7c5c4 (patch) | |
tree | fcc2cc6d56df1818f01302527534bd7c2908dfd1 /.gitignore | |
parent | 2778b56252124ef6f636a493d2e1457b43911c37 (diff) |
radeon: avoid rounding errors in texture coords for textured xv
make sure the division is done with floats, otherwise the coordinate
can be wrong up to 1 texel.
Particularly visible with clipping and small source scaled up (since one
texel can be a shift of several pixels) but could be seen even unscaled.
Should provide more accurate coords without clipping too depending on the
scale factor probably.
Changed for r100-r600, though only tested on r300.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions