[Bug 103544] Graphical glitches r600 in game this war of mine linux native

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 6 04:52:27 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103544

--- Comment #10 from Ilia Mirkin <imirkin at alum.mit.edu> ---
(In reply to Ilia Mirkin from comment #9)
> Created attachment 135237 [details] [review]
> enable simple_float logic for blending
> 
> Entirely untested (not even compiled) patch to force blending to be 0*NaN=0.
> Looks like radeonsi sets this bit, so it's not completely crazy.

Note that it looks like SIMPLE_FLOAT merely makes an optimization which allows
a GL_ZERO factor to cause a 0 to result... sometimes. But it could be enough
here. If an infinity or NaN makes it into a dest buffer, without this it will
ruin any future blending done, even if there's an attempt to override the
destination value.

Patch is available at https://patchwork.freedesktop.org/patch/186599/ (although
I'll have to rework the description)

-- 
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/20171106/f3cd4f9e/attachment-0001.html>


More information about the dri-devel mailing list