summaryrefslogtreecommitdiff
path: root/src/r600_shader.c
diff options
context:
space:
mode:
authorRoland Scheidegger <rscheidegger_lists@hispeed.ch>2012-05-11 05:25:33 +0200
committerAlex Deucher <alexdeucher@gmail.com>2012-05-11 01:08:54 -0400
commit37786e9027b8c8d1f9ec9928915784dd28853766 (patch)
treea2df45cfee890a0335deccbfc097c3756b61b5f0 /src/r600_shader.c
parentfaea3aafa8c9a7c1bc866ffcd847972c5569c8bc (diff)
radeon: avoid rounding errors in texture coords for textured xv on EG+
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. This is a straight port of 688c8a54a00b01e73a11970ad2abe858f8c7c5c4 when I apparently forgot the eg code...
Diffstat (limited to 'src/r600_shader.c')
0 files changed, 0 insertions, 0 deletions