From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 91247] Tomb Raider: Underworld renders lots of
artefacts on models and objects
Date: Mon, 06 Jul 2015 17:22:45 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0682142792=="
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
--===============0682142792==
Content-Type: multipart/alternative; boundary="1436203365.2B387e511.12855"; charset="UTF-8"
--1436203365.2B387e511.12855
Date: Mon, 6 Jul 2015 17:22:45 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=91247
--- Comment #1 from Ilia Mirkin ---
Early analysis makes it seem like the issue is with face culling or depth
tests. The colors you see on the model are the background color on which the
model is drawn (Or not drawn, as the case might be.) Both depth test and
front-face culling are enabled.
The frag shaders being used to draw it are *crazy* long, they're all like
if (bool) { bunch o' code }
if (other bool) { bunch o' code }
if (third bool) { bunch o' code }
and so on. I guess they were written with the assumption that the programs
would be compiled with the bools known ahead of time and only have one or two
of the bunches o' code. Oh well. But they're generally simple... Could still be
an error in the frag shaders though, should try replacing them with just
writing a solid color. Hopefully qapitrace makes that possible.
This issue reproduces on both nvc0 and nv50.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
--1436203365.2B387e511.12855
Date: Mon, 6 Jul 2015 17:22:45 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 1
on bug 91247
from Ilia Mirkin
Early analysis makes it seem like the issue is with face culling or depth
tests. The colors you see on the model are the background color on which the
model is drawn (Or not drawn, as the case might be.) Both depth test and
front-face culling are enabled.
The frag shaders being used to draw it are *crazy* long, they're all like
if (bool) { bunch o' code }
if (other bool) { bunch o' code }
if (third bool) { bunch o' code }
and so on. I guess they were written with the assumption that the programs
would be compiled with the bools known ahead of time and only have one or two
of the bunches o' code. Oh well. But they're generally simple... Could still be
an error in the frag shaders though, should try replacing them with just
writing a solid color. Hopefully qapitrace makes that possible.
This issue reproduces on both nvc0 and nv50.
You are receiving this mail because:
- You are the QA Contact for the bug.
- You are the assignee for the bug.
--1436203365.2B387e511.12855--
--===============0682142792==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy
ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK
--===============0682142792==--