From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 103544] Graphical glitches r600 in game this war of mine linux native Date: Mon, 06 Nov 2017 04:52:27 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1192459486==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7642F897D7 for ; Mon, 6 Nov 2017 04:52:27 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1192459486== Content-Type: multipart/alternative; boundary="15099439471.Acb60.3197"; charset="UTF-8" --15099439471.Acb60.3197 Date: Mon, 6 Nov 2017 04:52:27 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D103544 --- Comment #10 from Ilia Mirkin --- (In reply to Ilia Mirkin from comment #9) > Created attachment 135237 [details] [review] > enable simple_float logic for blending >=20 > Entirely untested (not even compiled) patch to force blending to be 0*NaN= =3D0. > Looks like radeonsi sets this bit, so it's not completely crazy. Note that it looks like SIMPLE_FLOAT merely makes an optimization which all= ows 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 wi= ll 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/ (alth= ough I'll have to rework the description) --=20 You are receiving this mail because: You are the assignee for the bug.= --15099439471.Acb60.3197 Date: Mon, 6 Nov 2017 04:52:27 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 10 on bug 10354= 4 from Ilia Mirkin
(In reply to Ilia Mirkin from comment #9)
> Created attachment 135237 [details]=
 [review] [review]
> enable simple_float logic for blending
>=20
> Entirely untested (not even compiled) patch to force blending to be 0*=
NaN=3D0.
> Looks like radeonsi sets this bit, so it's not completely crazy.

Note that it looks like SIMPLE_FLOAT merely makes an optimization which all=
ows
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 wi=
ll
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.
= --15099439471.Acb60.3197-- --===============1192459486== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1192459486==--