[Bug 107428] Flickering artifacts in OpenRA with Vega 56
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Sep 24 17:36:33 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=107428
Isaac Curtis <isaaccurtis1 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |NOTOURBUG
--- Comment #4 from Isaac Curtis <isaaccurtis1 at gmail.com> ---
The bug has been identified. It can be seen on Lines 40-53 of
https://github.com/OpenRA/OpenRA/blob/bfcbe8c0043bfadd1b38c4987f133e29aa54275c/glsl/shp.frag
Basically, it was a floating point comparison bug. It checked for samplerIndex
a float that takes int values, against 1.0, 2.0, etc. However, sometimes 1 is
less than 1 due to floating point issues. Changing samplerIndex < 1.0 to
samplerIndex < 0.5 fixes the issue.
It turns out that AMDGPU drivers seem to be the only implementation that
experience this particular issue.
This case is resolved. I don't see anything to fix in the drivers here.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180924/ff334d28/attachment-0001.html>
More information about the dri-devel
mailing list