From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 92306] GL Excess demo renders incorrectly on nv43 Date: Sun, 11 Oct 2015 18:58:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1402150453==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1402150453== Content-Type: multipart/alternative; boundary="1444589929.0C6bE1.15634"; charset="UTF-8" --1444589929.0C6bE1.15634 Date: Sun, 11 Oct 2015 18:58:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92306 --- Comment #12 from Ilia Mirkin --- (In reply to Andrew Randrianasulu from comment #11) > "Mismatched color and zeta formats, ignoring zeta." Yeah, as I suspected... unfortunately there's not a ton you can do besides fixing the issue. The problem is that you can't render to a 32-bit color format (e.g. RGBA8) while using a 16-bit zeta (Z16), and conversely you can't render to a 16-bit color format (e.g. RGB565) while using a 32-bit zeta (Z24S8). My current solution to this problem is to just not set the zeta buffer and move on with life. This leads to incorrect rendering, but at least no hangs. The proper solution is to have 2 depth textures that you copy to and fro and set the "right" one for the given color format. Ideally while minimizing the number of copies. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. --1444589929.0C6bE1.15634 Date: Sun, 11 Oct 2015 18:58:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 12 on bug 92306 from
(In reply to Andrew Randrianasulu from comment #11)
> "Mismatched color and zeta formats, ignoring zeta."

Yeah, as I suspected... unfortunately there's not a ton you can do besides
fixing the issue. The problem is that you can't render to a 32-bit color format
(e.g. RGBA8) while using a 16-bit zeta (Z16), and conversely you can't render
to a 16-bit color format (e.g. RGB565) while using a 32-bit zeta (Z24S8).

My current solution to this problem is to just not set the zeta buffer and move
on with life. This leads to incorrect rendering, but at least no hangs.

The proper solution is to have 2 depth textures that you copy to and fro and
set the "right" one for the given color format. Ideally while minimizing the
number of copies.


You are receiving this mail because:
  • You are the QA Contact for the bug.
  • You are the assignee for the bug.
--1444589929.0C6bE1.15634-- --===============1402150453== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK --===============1402150453==--