From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 102955] HyperZ related rendering issue in ARK: Survival Evolved
Date: Mon, 02 Oct 2017 16:01:05 +0000 [thread overview]
Message-ID: <bug-102955-502-ruob6JvrOr@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-102955-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 1141 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102955
--- Comment #3 from Marek Olšák <maraeo@gmail.com> ---
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 = 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 Evolved.
+ * https://bugs.freedesktop.org/show_bug.cgi?id=102955
+ *
+ * This hack massively decreases back-to-back ClearDepth
performance.
+ */
+ sctx->b.flags |= 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.
[-- Attachment #1.2: Type: text/html, Size: 2125 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-10-02 16:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-23 23:25 [Bug 102955] HyperZ related rendering issue in ARK: Survival Evolved bugzilla-daemon
2017-09-23 23:32 ` bugzilla-daemon
2017-10-01 7:13 ` bugzilla-daemon
2017-10-02 16:01 ` bugzilla-daemon [this message]
2017-10-03 21:31 ` bugzilla-daemon
2017-10-06 8:19 ` bugzilla-daemon
2017-10-10 21:51 ` bugzilla-daemon
2017-10-27 8:50 ` bugzilla-daemon
2019-07-21 18:17 ` bugzilla-daemon
2019-09-25 18:00 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-102955-502-ruob6JvrOr@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).