summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-12-06 09:30:53 +0000
committerJosé Fonseca <[email protected]>2012-12-06 15:58:40 +0000
commit5e99cd915921d7b863a66badf09941f11120c6ab (patch)
tree3abc213e7e7b9eb03563eedeb9088fd2a7ea96dd /include
parent33ffca713a5e593beda34d6bcbee8fb1af472cf7 (diff)
gallivm: Fix lerping of (un)signed normalized numbers.
Several issues actually: - Fix a regression in unsigned normalized in the rescaling [0, 255] to [0, 256] - Ensure we use signed shifts where appropriate (instead of unsigned shifts) - Refactor the code slightly -- move all the logic inside lp_build_lerp_simple(). This change, plus an adjustment in the tolerance of signed normalized results in piglit fbo-blending-formats fixes bug 57903 Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions