From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 102955] HyperZ related rendering issue in ARK: Survival Evolved
Date: Mon, 02 Oct 2017 16:01:05 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1409379457=="
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 5CB786E33A
for ; Mon, 2 Oct 2017 16:01:05 +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
--===============1409379457==
Content-Type: multipart/alternative; boundary="15069600650.AA382.27812";
charset="UTF-8"
--15069600650.AA382.27812
Date: Mon, 2 Oct 2017 16:01:05 +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=3D102955
--- Comment #3 from Marek Ol=C5=A1=C3=A1k ---
Workaround:
diff --git a/src/gallium/drivers/radeonsi/si_blit.c
b/src/gallium/drivers/radeonsi/si_blit.c
index 67972a2..dc71742 100644
--- a/src/gallium/drivers/radeonsi/si_blit.c
+++ b/src/gallium/drivers/radeonsi/si_blit.c
@@ -903,6 +903,14 @@ static void si_clear(struct pipe_context *ctx, unsigned
buffers,
sctx->db_stencil_clear =3D true;
si_mark_atom_dirty(sctx, &sctx->db_render_state);
}
+
+ /* TODO: Find out what's wrong here. Fast depth clear with
+ * a dirty DB cache causes corruption in ARK: Survival Evol=
ved.
+ * https://bugs.freedesktop.org/show_bug.cgi?id=3D102955
+ *
+ * This hack massively decreases back-to-back ClearDepth
performance.
+ */
+ sctx->b.flags |=3D SI_CONTEXT_FLUSH_AND_INV_DB;
}
si_blitter_begin(ctx, SI_CLEAR);
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15069600650.AA382.27812
Date: Mon, 2 Oct 2017 16:01:05 +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 # 3
on bug 10295=
5
from Marek Ol=C5=A1=C3=A1k
Workaround:
diff --git a/src/gallium/drivers/radeonsi/si_blit.c
b/src/gallium/drivers/radeonsi/si_blit.c
index 67972a2..dc71742 100644
--- a/src/gallium/drivers/radeonsi/si_blit.c
+++ b/src/gallium/drivers/radeonsi/si_blit.c
@@ -903,6 +903,14 @@ static void si_clear(struct pipe_conte=
xt *ctx, unsigned
buffers,
sctx->db_stencil_clear =3D true;
si_mark_atom_dirty(sctx, &sctx->db_render_st=
ate);
}
+
+ /* TODO: Find out what's wrong here. Fast depth clear with
+ * a dirty DB cache causes corruption in ARK: Survival Evol=
ved.
+ * https://bugs.freedesktop.org/show_bug.=
cgi?id=3D102955
+ *
+ * This hack massively decreases back-to-back ClearDepth
performance.
+ */
+ sctx->b.flags |=3D SI_CONTEXT_FLUSH_AND_INV_DB;
}
si_blitter_begin(ctx, SI_CLEAR);
You are receiving this mail because:
- You are the assignee for the bug.
=
--15069600650.AA382.27812--
--===============1409379457==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1409379457==--