diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-03-14 22:02:09 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-03-14 22:03:58 +0000 |
commit | 94cb10c3f2b9bbb6ae3c76faebe9fc88691224a9 (patch) | |
tree | b56ca1d35a2cb6b25ee355a6d367635a356e6869 /src/render_program/exa_wm_ca_srcalpha.g5a | |
parent | dad50881d545da665191c6681f2acd0ebc3ddbfc (diff) |
sna/gen5+: Add missing float casts in computation of scaled src offsets
Without the casts, the division ends up as 0 rather than the fractional
offset into the texture.
The casts were missed in the claimed fix:
commit 89038ddb96aabc4bc1f04402b2aca0ce546e8bf3
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Thu Feb 28 14:35:54 2013 +0000
sna/video: Correct scaling of source offsets
Reported-by: Roman Elshin <roman.elshin@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62343
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/render_program/exa_wm_ca_srcalpha.g5a')
0 files changed, 0 insertions, 0 deletions