From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 72685] [radeonsi hyperz] Artifacts in Unigine Sanctuary Date: Sun, 17 Aug 2014 11:40:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1994607489==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E25586E37E for ; Sun, 17 Aug 2014 04:40:45 -0700 (PDT) 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 --===============1994607489== Content-Type: multipart/alternative; boundary="1408275645.A148C742.31770"; charset="us-ascii" --1408275645.A148C742.31770 Date: Sun, 17 Aug 2014 11:40:45 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D72685 --- Comment #25 from Marek Ol=C5=A1=C3=A1k --- smoki, you can ignore that document. Sanctuary doesn't use shadow volumes f= or shadows. It also doesn't use stencil. There are 2 issues here: 1) HTILE doesn't seem to support rendering to an array texture with SLICE_S= TART =3D=3D SLICE_MAX !=3D 0 (non-zero layer). The workaround is to set SLICE_START=3DSLICE_MAX=3D0 and add slice_size*slice_start to the base addr= ess. This won't work with layered rendering, but we should still use the workaro= und for non-layered rendering, because the performance improvement is really wo= rth it. Note: r600g doesn't use HTILE for array textures, so it may see lower performance increase from HyperZ in Sanctuary. With the workaround above, the rendering is still broken, so it needs one m= ore workaround: 2) In-place DB flushing is broken with HTILE. The DB->CB copy can be used instead. --=20 You are receiving this mail because: You are the assignee for the bug. --1408275645.A148C742.31770 Date: Sun, 17 Aug 2014 11:40:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 25 on bug 72685<= /a> from Marek Ol=C5=A1=C3=A1k
smoki, you can ignore that document. Sanctuary doesn't use sha=
dow volumes for
shadows. It also doesn't use stencil.

There are 2 issues here:

1) HTILE doesn't seem to support rendering to an array texture with SLICE_S=
TART
=3D=3D SLICE_MAX !=3D 0 (non-zero layer). The workaround is to set
SLICE_START=3DSLICE_MAX=3D0 and add slice_size*slice_start to the base addr=
ess.
This won't work with layered rendering, but we should still use the workaro=
und
for non-layered rendering, because the performance improvement is really wo=
rth
it.

Note: r600g doesn't use HTILE for array textures, so it may see lower
performance increase from HyperZ in Sanctuary.

With the workaround above, the rendering is still broken, so it needs one m=
ore
workaround:

2) In-place DB flushing is broken with HTILE. The DB->CB copy can be used
instead.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1408275645.A148C742.31770-- --===============1994607489== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1994607489==--