From: bugzilla-daemon@freedesktop.org Subject: [Bug 107428] Flickering artifacts in OpenRA with Vega 56 Date: Mon, 24 Sep 2018 17:36:33 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0741512838==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id AE19E6E0C5 for ; Mon, 24 Sep 2018 17:36:33 +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 --===============0741512838== Content-Type: multipart/alternative; boundary="15378105930.1a1a.25720" Content-Transfer-Encoding: 7bit --15378105930.1a1a.25720 Date: Mon, 24 Sep 2018 17:36:33 +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=3D107428 Isaac Curtis changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |NOTOURBUG --- Comment #4 from Isaac Curtis --- The bug has been identified. It can be seen on Lines 40-53 of https://github.com/OpenRA/OpenRA/blob/bfcbe8c0043bfadd1b38c4987f133e29aa542= 75c/glsl/shp.frag Basically, it was a floating point comparison bug. It checked for samplerIn= dex 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.=20 This case is resolved. I don't see anything to fix in the drivers here. --=20 You are receiving this mail because: You are the assignee for the bug.= --15378105930.1a1a.25720 Date: Mon, 24 Sep 2018 17:36:33 +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 Isaac Curtis changed bug 10742= 8
What Removed Added
Status NEW RESOLVED
Resolution --- NOTOURBUG

Commen= t # 4 on bug 10742= 8 from Isaac Curtis
The bug has been identified. It can be seen on Lines 40-53 of
https://github.com/OpenRA/OpenRA/blob/bfcbe8c=
0043bfadd1b38c4987f133e29aa54275c/glsl/shp.frag

Basically, it was a floating point comparison bug. It checked for samplerIn=
dex
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.=20

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.
= --15378105930.1a1a.25720-- --===============0741512838== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0741512838==--