From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101739] An issue with alpha-to-coverage handling is causing Arma 3 64-bit Linux port to render trees incorrectly Date: Sun, 16 Jul 2017 00:25:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1345847926==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 378FD6E178 for ; Sun, 16 Jul 2017 00:25:56 +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 --===============1345847926== Content-Type: multipart/alternative; boundary="15001647561.Aa53D9.6290"; charset="UTF-8" --15001647561.Aa53D9.6290 Date: Sun, 16 Jul 2017 00:25:56 +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=3D101739 --- Comment #1 from Roland Scheidegger --- My naive conclusion from the description would be that the hw is doing earl= yz optimizations when it shouldn't (so, the depth updates happen before the fi= nal sample mask modified by the alpha value is known). The driver doesn't set if early z is enabled directly, since it just sets EARLY_Z_THEN_LATE_Z most of the time, and the hw should figure out if early= z is possible (taking into account all state), otherwise use late z. If that's the case, then overriding the Z_ORDER to LATE_Z for the db_shader_control value might be necessary in this case. But that's just a guess, I could be completely wrong here - I've got only a very rough idea of radeonsi hw and driver... --=20 You are receiving this mail because: You are the assignee for the bug.= --15001647561.Aa53D9.6290 Date: Sun, 16 Jul 2017 00:25:56 +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

Commen= t # 1 on bug 10173= 9 from Roland Scheidegger
My naive conclusion from the description would be that the hw =
is doing earlyz
optimizations when it shouldn't (so, the depth updates happen before the fi=
nal
sample mask modified by the alpha value is known).
The driver doesn't set if early z is enabled directly, since it just sets
EARLY_Z_THEN_LATE_Z most of the time, and the hw should figure out if early=
 z
is possible (taking into account all state), otherwise use late z.
If that's the case, then overriding the Z_ORDER to LATE_Z for the
db_shader_control value might be necessary in this case.
But that's just a guess, I could be completely wrong here - I've got only a
very rough idea of radeonsi hw and driver...


You are receiving this mail because:
  • You are the assignee for the bug.
= --15001647561.Aa53D9.6290-- --===============1345847926== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1345847926==--