From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 93216] Artifacts with DCC when render target also texture
Date: Wed, 02 Dec 2015 17:17:55 +0000
Message-ID:
Bug ID
93216
Summary
Artifacts with DCC when render target also texture
Product
Mesa
Version
git
Hardware
Other
OS
All
Status
NEW
Severity
normal
Priority
medium
Component
Drivers/Gallium/radeonsi
Assignee
dri-devel@lists.freedesktop.org
Reporter
axel.davy@ens.fr
QA Contact
dri-devel@lists.freedesktop.org
Created attachment 120280 [details]
Before a buggy draw call
I noticed a few games had some strange artifacts on my tonga that I had not on
verde. Those artifacts are usually along lines.
These artifacts disappear with R600_DEBUG=nodcc.
I managed to determine the bug appears when the render target is also used as
input texture.
Attached is the render target content before and after such draw call. The draw
call draws two triangles. We can see the artifacts are along the border region
of the top right triangle with the bottom left triangle.
My guess is that it is some flush issue. That the bottom left triangle is drawn
first, the cache content of the texture cache updated, and the artifacts are at
locations where the dcc data was updated.